7 thread_local System *System::active = nullptr;
9 void System::begin_tick()
12 throw logic_error("System::active != nullptr");
15 for(const Dependency &d: dependencies)
26 void System::end_tick()
28 for(const Dependency &d: dependencies)
42 void System::deferred_tick()
44 for(const auto &f: deferred_queue)
46 deferred_queue.clear();
49 } // namespace Msp::Game