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:38
Main simulation of game. /summary> To add a simulation in the game, add a class extending from cqsp::...
Definition: simulation.h:35
virtual void CreateSystems()
Definition: simulation.cpp:54
Universe & m_universe
Definition: simulation.h:60
std::vector< std::unique_ptr< ISimulationSystem > > system_list
Holds all the systems.
Definition: simulation.h:59
Simulation(Game &game)
Definition: simulation.cpp:52
void tick()
1 game tick, runs every single system that is added.
Definition: simulation.cpp:86
void Init()
Definition: simulation.cpp:79
Game & m_game
Definition: simulation.h:55
void AddSystem()
Definition: simulation.h:46
Definition: simulation.cpp:51