RType
src
lib
r_type
services
TimeManagement.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2023
3
** R-type
4
** File description:
5
** R-type
6
*/
7
8
#
pragma
once
9
10
#
include
"AService.hpp"
11
#
include
"IComponent.hpp"
12
#
include
<
utility
>
13
#
include
<
vector
>
14
15
class
TimeManagement
:
public
AService
16
{
17
public
:
18
19
/**
20
* @brief Construct a new TimeManagement:: TimeManagement object
21
* @param serverSocket
22
*/
23
explicit
TimeManagement
(std::shared_ptr<
ServerSocket
> serverSocket) :
24
AService
(
std
::
move
(
serverSocket
)){};
25
26
/**
27
* @brief update, update the time management
28
*
29
* @param event
30
* @param component
31
*/
32
void
update
(std::shared_ptr<Event> event, std::shared_ptr<
IComponentRType
> component)
override
;
33
};
Generated by
1.9.1