My Project
ParallaxSystem.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** ParallaxSystem
6 */
7 
8 #ifndef PARALLAXSYSTEM_HPP_
9  #define PARALLAXSYSTEM_HPP_
10 
11  #include <vector>
12 
13  /* Ecs */
14  #include "Registry.hpp"
15 
16  /* Component */
17  #include "Component/CPosition.hpp"
18  #include "Component/CRefId.hpp"
19 
23 namespace System {
28  public:
30  ~ParallaxSystem() = default;
31 
32  void operator()(
33  Registry &registry,
36  );
37 
38  protected:
39  private:
40  std::vector<std::string> _parallax;
41  };
42 }
43 #endif /* !PARALLAXSYSTEM_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::ParallaxSystem
ParallaxSystem class that handles the parallax effect.
Definition: ParallaxSystem.hpp:27