diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-10-22 12:15:49 +0200 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-10-22 12:15:49 +0200 |
commit | 6b213f304b35be5c11bbea305698d6e365a7ffca (patch) | |
tree | 4526831be8e6a09a9e1608b71294213ce57fddb1 /src/crepe/ScriptSystem.h | |
parent | 9037aca03bfa4312794a6954752628381256f777 (diff) | |
parent | 30d84ef9ad4a0010288db18294766fd4d5ed6f4a (diff) |
Merge branch 'master' into niels/rendering
Diffstat (limited to 'src/crepe/ScriptSystem.h')
-rw-r--r-- | src/crepe/ScriptSystem.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/crepe/ScriptSystem.h b/src/crepe/ScriptSystem.h index 72e360b..1f472a0 100644 --- a/src/crepe/ScriptSystem.h +++ b/src/crepe/ScriptSystem.h @@ -1,17 +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 |