49 static_assert(std::is_base_of<cqsp::common::systems::ISimulationSystem, T>::value);
58 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:28
Definition: universe.h:32
Main simulation of game. /summary> To add a simulation in the game, add a class extending from cqsp::...
Definition: simulation.h:38
cqsp::common::Universe & m_universe
Definition: simulation.h:59
Simulation(cqsp::common::Game &game)
Definition: simulation.cpp:52
void tick()
1 game tick, runs every single system that is added.
Definition: simulation.cpp:75
cqsp::common::Game & m_game
Definition: simulation.h:54
void AddSystem()
Definition: simulation.h:48
std::vector< std::unique_ptr< cqsp::common::systems::ISimulationSystem > > system_list
Holds all the systems.
Definition: simulation.h:58
When adding assets, it is extremely crucial that you read cqsp::asset::AssetLoader::LoadResources to ...
Definition: clientctx.h:21