aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/ScriptSystem.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 15:49:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 15:49:59 +0100
commita47b981c2254e1d49f58ebd4244c1be4624ba998 (patch)
treed5ca1f37f0e2d93f241721b13abacc5123bfe92a /src/crepe/system/ScriptSystem.h
parent5f75bdbf3d38c94baeae52f4c4889f147ec6885e (diff)
remove util and api namespaces
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