My Project
SetNbPlayerInLobbySystem.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** SetNbPlayerInLobbySystem
6 */
7 
8 #ifndef SETNBPLAYERINLOBBYSYSTEM_HPP_
9  #define SETNBPLAYERINLOBBYSYSTEM_HPP_
10 
11  /* Ecs */
12  #include "Registry.hpp"
13 
14  /* Component */
15  #include "Component/CNetworkQueue.hpp"
16 
20 namespace System {
25  public:
30  ~SetNbPlayerInLobbySystem() = default;
31 
38  void operator()(
39  Registry &registry,
41  );
42 
43  protected:
44  private:
45  };
46 }
47 
48 #endif /* !SETNBPLAYERINLOBBYSYSTEM_HPP_ */
Sparse_array
Class that handle Element of type Component like a vector which can be holed.
Definition: SparseArray.hpp:22
System::SetNbPlayerInLobbySystem::SetNbPlayerInLobbySystem
SetNbPlayerInLobbySystem()
Set the Nb Player In Lobby System object.
Definition: SetNbPlayerInLobbySystem.cpp:13
System
Namespace for systems.
Definition: DirectionSystem.hpp:24
Registry
Class that handle ECS.
Definition: Registry.hpp:22
System::SetNbPlayerInLobbySystem
System that set number of player in Lobby.
Definition: SetNbPlayerInLobbySystem.hpp:24
System::SetNbPlayerInLobbySystem::operator()
void operator()(Registry &registry, Sparse_array< component::cnetwork_queue_t > &networkQueue)
Function that will be automaticaly called while the client is working (on loop)
Definition: SetNbPlayerInLobbySystem.cpp:17