aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 99c457b..26dcd0a 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -22,6 +22,7 @@
#include "engine.hpp"
#include "gamerun.hpp"
#include "input.hpp"
+#include "player.hpp"
#include "script.hpp"
#include "render.hpp"
@@ -33,10 +34,14 @@ int Engine::init(void)
{
systems.add<GameRunSystem>();
systems.add<InputSystem>();
+ systems.add<PlayerSystem>();
systems.add<RenderSystem>();
systems.add<ScriptSystem>();
systems.configure();
+
+ systems.system<ScriptSystem>()->init();
+
return 0;
}