My Project
UpdateEntityInfosSystem.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** UpdateEntityInfoSystem
6 */
7 
8 #ifndef UPDATEENTITYINFOSYSTEM_HPP_
9  #define UPDATEENTITYINFOSYSTEM_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 
23 namespace System {
29  public:
31  ~UpdateEntityInfosSystem() = default;
32 
41  void operator()([[ maybe_unused ]] Registry &registry,
48 
49  protected:
50  private:
51  };
52 }
53 
54 #endif /* !UPDATEENTITYINFOSYSTEM_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::UpdateEntityInfosSystem
Update entity info system class that handles the update of an entity.
Definition: UpdateEntityInfosSystem.hpp:28
System::UpdateEntityInfosSystem::operator()
void operator()([[maybe_unused]] Registry &registry, Sparse_array< component::chealth_t > &health, Sparse_array< component::cscore_t > &score, 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: UpdateEntityInfosSystem.cpp:16