namespace Msp::Game {
Stage::Stage():
+ event_source(event_bus),
root(std::make_unique<Root>(*this))
{ }
void Stage::tick(Time::TimeDelta dt)
{
- for(const auto &s: systems)
- s->pre_tick();
for(const auto &s: systems)
s->tick(dt);
- for(const auto &s: systems)
- s->post_tick();
}
} // namespace Msp::Game