diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-01-12 09:27:43 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-01-12 09:27:43 -0500 |
commit | 620311fb15953984c2fe37917d678f9b3aaa00b6 (patch) | |
tree | 98cf46c253228495245020e881a6e2edb6cb2644 /src/engine.cpp | |
parent | b018bfd5d69a51b352cc87cf92136a0b20712845 (diff) |
fixes, main cleanup
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index abadf3f..c7999ed 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -38,22 +38,11 @@ void Engine::init(void) { systems.configure(); ui::initSounds(); + ui::menu::init(); game::config::update(); getSystem<PlayerSystem>()->create(); } -void Engine::render(entityx::TimeDelta dt) -{ - systems.update<RenderSystem>(dt); - //systems.update<InventorySystem>(dt); // doesn't do anything... - - ui::fadeUpdate(); -} -void Engine::resetRender(entityx::TimeDelta dt) -{ - systems.update<WindowSystem>(dt); -} - void Engine::update(entityx::TimeDelta dt) { systems.update<InputSystem>(dt); |