diff options
Diffstat (limited to 'src/crepe/ScriptSystem.h')
-rw-r--r-- | src/crepe/ScriptSystem.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/crepe/ScriptSystem.h b/src/crepe/ScriptSystem.h index e1ed290..1f472a0 100644 --- a/src/crepe/ScriptSystem.h +++ b/src/crepe/ScriptSystem.h @@ -1,18 +1,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(); - virtual void update(); + void update(); private: ScriptSystem(); ~ScriptSystem(); -}; -} +private: + std::forward_list<api::Script *> get_scripts(); +}; +} // namespace crepe |