RType
Spawner.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2023
3 ** RType
4 ** File description:
5 ** Spawner.hpp
6 */
7 
8 #pragma once
9 
10 #include <utility>
11 #include <vector>
12 #include "AService.hpp"
13 #include "IComponent.hpp"
14 
15 class Spawner : public AService {
16 public:
17  explicit Spawner(std::shared_ptr<ServerSocket> serverSocket) : AService(std::move(serverSocket)) {};
18 
19  void update(std::shared_ptr<Event> event, std::shared_ptr<IComponentRType> component) override;
20 };