aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 317e116..a89a876 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -22,8 +22,8 @@
#include "engine.hpp"
#include "gamerun.hpp"
#include "input.hpp"
-#include "window.hpp"
#include "script.hpp"
+#include "render.hpp"
#include "components/Script.hpp"
#include "components/Position.hpp"
@@ -32,7 +32,7 @@ int Engine::init(void)
{
systems.add<GameRunSystem>();
systems.add<InputSystem>();
- systems.add<WindowSystem>();
+ systems.add<RenderSystem>();
systems.add<ScriptSystem>();
systems.configure();
@@ -62,7 +62,7 @@ void Engine::logicLoop(void)
void Engine::renderLoop(void)
{
while (shouldRun()) {
- systems.update<WindowSystem>(0);
+ systems.update<RenderSystem>(0);
std::this_thread::yield();
}
}