1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#pragma once #include <forward_list> #include "System.h" namespace crepe::api { class Script; } namespace crepe { class ScriptSystem : public System { public: static ScriptSystem & get_instance(); void update(); private: ScriptSystem(); ~ScriptSystem(); private: std::forward_list<api::Script *> get_scripts(); }; } // namespace crepe