Main simulation of game. /summary> To add a simulation in the game, add a class extending from cqsp::common::systems::ISimulationSystem
in the constructor.
More...
#include <simulation.h>
Main simulation of game. /summary> To add a simulation in the game, add a class extending from cqsp::common::systems::ISimulationSystem
in the constructor.
AddSystem<SimSystemName>();
◆ Simulation()
cqsp::common::systems::simulation::Simulation::Simulation |
( |
Game & |
game | ) |
|
|
explicit |
◆ AddSystem()
template<class T >
void cqsp::common::systems::simulation::Simulation::AddSystem |
( |
| ) |
|
|
inline |
◆ Init()
void cqsp::common::systems::simulation::Simulation::Init |
( |
| ) |
|
◆ tick()
void cqsp::common::systems::simulation::Simulation::tick |
( |
| ) |
|
1 game tick, runs every single system that is added.
◆ m_game
Game& cqsp::common::systems::simulation::Simulation::m_game |
|
private |
◆ m_universe
Universe& cqsp::common::systems::simulation::Simulation::m_universe |
|
private |
◆ system_list
std::vector<std::unique_ptr<ISimulationSystem> > cqsp::common::systems::simulation::Simulation::system_list |
|
private |
The documentation for this class was generated from the following files: