My Project
KillEntityTypeSystem.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** KillEntityTypeSystem
6 */
7 
8 #ifndef KILLENTITYTYPESYSTEM_HPP_
9  #define KILLENTITYTYPESYSTEM_HPP_
10 
11  #include "Registry.hpp"
12 
13  /* Component */
14  #include "Component/CNetworkQueue.hpp"
15  #include "Component/CType.hpp"
16 
20 namespace System {
25  public:
30  ~KillEntityTypeSystem() = default;
31 
40  void operator()(Registry &registry,
43 
44  protected:
45  private:
46  };
47 }
48 
49 #endif /* !KILLENTITYTYPESYSTEM_HPP_ */
Sparse_array
Class that handle Element of type Component like a vector which can be holed.
Definition: SparseArray.hpp:22
System
Namespace for systems.
Definition: DirectionSystem.hpp:24
Registry
Class that handle ECS.
Definition: Registry.hpp:22
System::KillEntityTypeSystem::KillEntityTypeSystem
KillEntityTypeSystem()
Construct a new Kill entity type System object.
Definition: KillEntityTypeSystem.cpp:16
System::KillEntityTypeSystem
KillEntityTypeSystem class that handles the killing of entities type.
Definition: KillEntityTypeSystem.hpp:24
System::KillEntityTypeSystem::operator()
void operator()(Registry &registry, Sparse_array< component::cnetwork_queue_t > &network, Sparse_array< component::ctype_t > &type)
Function that will be automaticaly called while the client is working (on loop)
Definition: KillEntityTypeSystem.cpp:20