aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine.cpp
diff options
context:
space:
mode:
authorAndy <drumsetmonkey@gmail.com>2016-10-24 07:55:41 -0400
committerAndy <drumsetmonkey@gmail.com>2016-10-24 07:55:41 -0400
commitd7884127950260dd0f1b24aee0bfe64d847f990c (patch)
tree067751efc3b0e3d7ec9111b4764170bd69bacec7 /src/engine.cpp
parent2dd2f42ff1c683331e7192b4bfb832e41543d2df (diff)
Better sprites
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index a367e27..90cfb3a 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -25,6 +25,7 @@ void Engine::init(void) {
systems.add<InventorySystem>();
systems.add<WorldSystem>();
systems.add<PlayerSystem>();
+ systems.add<PhysicsSystem>();
systems.add<MovementSystem>();
systems.configure();
@@ -44,6 +45,7 @@ void Engine::render(entityx::TimeDelta dt)
void Engine::update(entityx::TimeDelta dt)
{
systems.update<InputSystem>(dt);
+ //systems.update<PhysicsSystem>(dt);
systems.update<MovementSystem>(dt);
systems.update<WorldSystem>(dt);
systems.update<PlayerSystem>(dt);