7 Stage::Stage(DataFile::Collection &r):
9 event_source(event_bus),
10 root(std::make_unique<Root>(*this))
13 // Hide unique_ptr destructors from the header
17 void Stage::remove_system(System &s)
19 erase_if(systems, [&s](auto &p){ return p.get()==&s; });
22 void Stage::tick(Time::TimeDelta dt)
24 for(const auto &s: systems)
28 } // namespace Msp::Game