aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ScriptSystem.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 10:42:10 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-21 10:42:10 +0200
commit157cdabe941be14ca72022e7a7c8c55a582a7c1c (patch)
treeca09caaa0b4a8ec8ba7c6a109445be4339f08cb1 /src/crepe/ScriptSystem.h
parent58dfdba241b501d4b1b9688b44ee775507ec325b (diff)
parent0fdebc7d7a143ad2b9b5ed6a596bf4bb1f0f7d7f (diff)
merge loek/scripts into loek/config
Diffstat (limited to 'src/crepe/ScriptSystem.h')
-rw-r--r--src/crepe/ScriptSystem.h11
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