My Project
NewLevelSystem.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** NewLevelSystem
6 */
7 
8 #ifndef NEWLEVELSYSTEM_HPP_
9  #define NEWLEVELSYSTEM_HPP_
10 
11  #include "Registry.hpp"
12  #include "Component/CNetworkQueue.hpp"
13  #include "Component/CHealth.hpp"
14  #include "Component/CScore.hpp"
15  #include "Component/CServerId.hpp"
16  #include "Component/CText.hpp"
17  #include "Component/CRef.hpp"
18 
22 namespace System {
27  public:
29  ~NewLevelSystem() = default;
30 
40  void operator()([[ maybe_unused ]] Registry &registry,
45 
46 
47  protected:
48  private:
49  };
50 }
51 
52 #endif /* !NEWLEVELSYSTEM_HPP_ */
Sparse_array
Class that handle Element of type Component like a vector which can be holed.
Definition: SparseArray.hpp:22
System::NewLevelSystem
System to handle when a new level is reached.
Definition: NewLevelSystem.hpp:26
System
Namespace for systems.
Definition: DirectionSystem.hpp:24
Registry
Class that handle ECS.
Definition: Registry.hpp:22
System::NewLevelSystem::operator()
void operator()([[maybe_unused]] Registry &registry, Sparse_array< component::cnetwork_queue_t > &netQueue, Sparse_array< component::cserverid_t > &serverId, Sparse_array< component::ctext_t > &texts, Sparse_array< component::cref_t > &refs)
Function that will be automaticaly called while the client is working (on loop)
Definition: NewLevelSystem.cpp:16