diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-11-30 17:54:13 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-11-30 17:54:13 -0500 |
commit | 1024fe8305e5b0a7bb1f660a1cee077172d84534 (patch) | |
tree | 3153bc45fe98809c3d7e81f14710c0a0c6e0a6a2 /src/engine.cpp | |
parent | 8c80ad1431512979e364e540a239e806851e4ada (diff) |
quest system
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 7c9a404..e5b2b36 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -7,6 +7,7 @@ #include <inventory.hpp> #include <components.hpp> #include <player.hpp> +#include <quest.hpp> Engine::Engine(void) : shouldRun(true), systems(game::entities, game::events) @@ -23,6 +24,7 @@ void Engine::init(void) { //systems.add<InventorySystem>(); systems.add<WorldSystem>(); systems.add<PlayerSystem>(); + systems.add<QuestSystem>(); systems.add<PhysicsSystem>(); systems.add<MovementSystem>(); @@ -39,7 +41,7 @@ void Engine::render(entityx::TimeDelta dt) { systems.update<RenderSystem>(dt); systems.update<WindowSystem>(dt); - //systems.update<InventorySystem>(dt); + //systems.update<InventorySystem>(dt); // doesn't do anything... ui::fadeUpdate(); } @@ -48,9 +50,10 @@ void Engine::update(entityx::TimeDelta dt) { systems.update<InputSystem>(dt); systems.update<MovementSystem>(dt); - systems.update<DialogSystem>(dt); + //systems.update<DialogSystem>(dt); // doesn't do anything systems.update<WorldSystem>(dt); systems.update<PlayerSystem>(dt); + //systems.update<QuestSystem>(dt); // doesn't do anything } |