My Project
EndGameSystem.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** EndGameSystem
6 */
7 
8 #ifndef ENDGAMESYSTEM_HPP_
9  #define ENDGAMESYSTEM_HPP_
10 
11  #include "Registry.hpp"
12 
13  /* Component */
14  #include "Component/CNetworkQueue.hpp"
15  #include "Component/CSceneId.hpp"
16  #include "Component/CRef.hpp"
17  #include "Component/CText.hpp"
18 
22 namespace System {
26  class EndGameSystem {
27  public:
31  EndGameSystem();
32  ~EndGameSystem() = default;
33 
42  void operator()(Registry &registry,
47 
48  protected:
49  private:
50  };
51 }
52 
53 #endif /* !ENDGAMESYSTEM_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
System::EndGameSystem::EndGameSystem
EndGameSystem()
Construct a new End Game System object.
Definition: EndGameSystem.cpp:18
Registry
Class that handle ECS.
Definition: Registry.hpp:22
System::EndGameSystem::operator()
void operator()(Registry &registry, Sparse_array< component::cnetwork_queue_t > &network_queues, Sparse_array< component::ctype_t > &type, Sparse_array< component::clobby_id_t > &lobbyIds, Sparse_array< component::clobbies_status_t > &lobbiesStatus, Sparse_array< component::cmap_t > &map)
The main handler for the End Game System.
Definition: EndGameSystem.cpp:37