47 static_assert(std::is_base_of<ISimulationSystem, T>::value);
Wrapper class for all the components of the game, so that all the game stuff can be initialized in on...
Definition: game.h:27
Definition: universe.h:37
Main simulation of game. /summary> To add a simulation in the game, add a class extending from cqsp::...
Definition: simulation.h:35
Universe & m_universe
Definition: simulation.h:57
std::vector< std::unique_ptr< ISimulationSystem > > system_list
Holds all the systems.
Definition: simulation.h:56
Simulation(Game &game)
Definition: simulation.cpp:54
void tick()
1 game tick, runs every single system that is added.
Definition: simulation.cpp:85
void Init()
Definition: simulation.cpp:77
Game & m_game
Definition: simulation.h:52
void AddSystem()
Definition: simulation.h:46
Definition: simulation.cpp:51