diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-15 03:18:26 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-15 03:18:26 -0400 |
commit | bce8d0687f44def4b0171cd84bf1441fc4390e58 (patch) | |
tree | 0449aacaa3b6847aa65cbed6cf9b3ae417e76bed /src/engine.cpp | |
parent | b19978a1100bf86086901e1410f2e7ad1358278b (diff) |
Added event subsection of code
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 191493e..e38020d 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -78,6 +78,8 @@ void Engine::logicLoop(void) // Update 20 times a second if (elapsed > 50) { elapsed = 0; + + systems.update<WorldSystem>(dt); // All entities with an idle function should be run here entities.each<Scripted>([](entityx::Entity, Scripted &f){ |