aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/ScriptSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/system/ScriptSystem.h')
-rw-r--r--src/crepe/system/ScriptSystem.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/crepe/system/ScriptSystem.h b/src/crepe/system/ScriptSystem.h
index 1f472a0..32e793c 100644
--- a/src/crepe/system/ScriptSystem.h
+++ b/src/crepe/system/ScriptSystem.h
@@ -4,12 +4,10 @@
#include "System.h"
-namespace crepe::api {
-class Script;
-}
-
namespace crepe {
+class Script;
+
class ScriptSystem : public System {
public:
static ScriptSystem & get_instance();
@@ -20,7 +18,8 @@ private:
~ScriptSystem();
private:
- std::forward_list<api::Script *> get_scripts();
+ // TODO: to forward_list<reference_wrapper>
+ std::forward_list<Script *> get_scripts();
};
} // namespace crepe