R-Type
GameEngine
include
systems
ControlSystem.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2023
3
** R-Type
4
** File description:
5
** ControlSystem
6
*/
7
8
#ifndef CONTROLSYSTEM_HPP_
9
#define CONTROLSYSTEM_HPP_
10
#include "
GameEngine.hpp
"
11
#include "
Registry.hpp
"
12
#include "
components/ControllableComponent.hpp
"
13
#include "
components/TransformComponent.hpp
"
14
15
namespace
GameEngine
16
{
17
class
ControlSystem
18
{
19
public
:
20
ControlSystem
(){};
21
~ControlSystem
() =
default
;
22
23
void
operator()
(
SparseArray<TransformComponent>
&transforms,
SparseArray<ControllableComponent>
&controllable);
24
};
25
}
// namespace GameEngine
26
27
#endif
/* !CONTROLSYSTEM_HPP_ */
ControllableComponent.hpp
GameEngine.hpp
Registry.hpp
TransformComponent.hpp
GameEngine::ControlSystem
Definition:
ControlSystem.hpp:18
GameEngine::ControlSystem::ControlSystem
ControlSystem()
Definition:
ControlSystem.hpp:20
GameEngine::ControlSystem::operator()
void operator()(SparseArray< TransformComponent > &transforms, SparseArray< ControllableComponent > &controllable)
Definition:
ControlSystem.cpp:13
GameEngine::ControlSystem::~ControlSystem
~ControlSystem()=default
SparseArray
Array which can have empty indexes.
Definition:
SparseArray.hpp:19
GameEngine
Definition:
AssetManager.hpp:15
Generated by
1.9.1