aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ScriptSystem.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 12:15:49 +0200
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 12:15:49 +0200
commit6b213f304b35be5c11bbea305698d6e365a7ffca (patch)
tree4526831be8e6a09a9e1608b71294213ce57fddb1 /src/crepe/ScriptSystem.h
parent9037aca03bfa4312794a6954752628381256f777 (diff)
parent30d84ef9ad4a0010288db18294766fd4d5ed6f4a (diff)
Merge branch 'master' into niels/rendering
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