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)
20 void System::end_tick()
22 for(const Dependency &d: dependencies)
30 void System::deferred_tick()
32 for(const auto &f: deferred_queue)
34 deferred_queue.clear();
37 } // namespace Msp::Game