R-Type
PositionSystem.hpp
Go to the documentation of this file.
1 /*
2 ** EPITECH PROJECT, 2023
3 ** R-Type
4 ** File description:
5 ** PositionSystem
6 */
7 
8 #ifndef POSITIONSYSTEM_HPP_
9 #define POSITIONSYSTEM_HPP_
10 #include "GameEngine.hpp"
11 #include "Registry.hpp"
15 
16 namespace GameEngine
17 {
19  {
20  public:
21  PositionSystem(const float &deltaTime) : _deltaTime(deltaTime){};
22  ~PositionSystem() = default;
23 
26 
27  private:
28  const float &_deltaTime;
29  };
30 } // namespace GameEngine
31 
32 #endif /* !POSITIONSYSTEM_HPP_ */
Definition: PositionSystem.hpp:19
PositionSystem(const float &deltaTime)
Definition: PositionSystem.hpp:21
void operator()(SparseArray< TransformComponent > &transforms, SparseArray< TextureComponent > &textures, SparseArray< GravityComponent > &gravities)
Definition: PositionSystem.cpp:12
Array which can have empty indexes.
Definition: SparseArray.hpp:19
Definition: AssetManager.hpp:15