47 static_assert(std::is_base_of<cqsp::common::systems::ISimulationSystem, T>::value);
56 std::vector<std::unique_ptr<cqsp::common::systems::ISimulationSystem>>
system_list;
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:33
Main simulation of game. /summary> To add a simulation in the game, add a class extending from cqsp::...
Definition: simulation.h:35
void Init()
Definition: simulation.cpp:73
cqsp::common::Universe & m_universe
Definition: simulation.h:57
Simulation(cqsp::common::Game &game)
Definition: simulation.cpp:52
void tick()
1 game tick, runs every single system that is added.
Definition: simulation.cpp:82
cqsp::common::Game & m_game
Definition: simulation.h:52
void AddSystem()
Definition: simulation.h:46
std::vector< std::unique_ptr< cqsp::common::systems::ISimulationSystem > > system_list
Holds all the systems.
Definition: simulation.h:56
Definition: simulation.h:25