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