8 #ifndef KILLSYSTEM_HPP_
9 #define KILLSYSTEM_HPP_
12 #include "Registry.hpp"
15 #include "GraphicalLib.hpp"
18 #include "Component/CNetworkQueue.hpp"
19 #include "Component/CServerId.hpp"
20 #include "Component/CType.hpp"
21 #include "Component/CSound.hpp"
69 std::unique_ptr<rtype::GraphicalLib> _graphicLib;
Class that handle Element of type Component like a vector which can be holed.
Definition: SparseArray.hpp:22
Namespace for systems.
Definition: DirectionSystem.hpp:24
Class that handle ECS.
Definition: Registry.hpp:22
void killEntity(Registry ®istry, std::size_t id, Sparse_array< component::cserverid_t > &serverId, Sparse_array< component::ctype_t > &type, Sparse_array< component::csound_t > &sounds)
A method to kill an entity.
Definition: KillSystem.cpp:31
void operator()(Registry ®istry, Sparse_array< component::cnetwork_queue_t > &network, Sparse_array< component::cserverid_t > &serverId, Sparse_array< component::ctype_t > &type, Sparse_array< component::csound_t > &sounds)
Function that will be automaticaly called while the client is working (on loop)
Definition: KillSystem.cpp:21
KillSystem class that handles the killing of entities.
Definition: KillSystem.hpp:30
KillSystem()
Construct a new Kill System object.
Definition: KillSystem.cpp:16