aboutsummaryrefslogtreecommitdiffstats
path: root/yage/entity/engine.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-02-13 20:06:32 +0000
committerGitHub <noreply@github.com>2018-02-13 20:06:32 +0000
commitd273045983524f1ccd51859f28869a3ad6febf32 (patch)
treee8b523f39bc85f6f32d1881b3843d21157d526f2 /yage/entity/engine.cpp
parent2fe3434682aae38bb0ab414135c2311110a6db90 (diff)
parent2ff28e1127a82610d9402c90f7a2d1c1c7a19b6f (diff)
downloadYAGE-d273045983524f1ccd51859f28869a3ad6febf32.tar.gz
YAGE-d273045983524f1ccd51859f28869a3ad6febf32.zip
Merge pull request #16 from ymherklotz/entity
[entity] Fixing builds too
Diffstat (limited to 'yage/entity/engine.cpp')
-rw-r--r--yage/entity/engine.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/yage/entity/engine.cpp b/yage/entity/engine.cpp
index cf6f73b7..919cff7c 100644
--- a/yage/entity/engine.cpp
+++ b/yage/entity/engine.cpp
@@ -14,10 +14,6 @@ namespace yage
void Engine::init()
{
window_.create("Game Engine", 800, 640);
-
- for (auto &system : systems_) {
- system->init();
- }
}
void Engine::mainLoop()
@@ -33,16 +29,6 @@ void Engine::mainLoop()
void Engine::update()
{
- const double dt = 1.0 / 60.0;
-
- for (auto &system : systems_) {
- system->update(dt);
- }
-}
-
-void Engine::addSystem(System *system)
-{
- systems_.push_back(system);
}
Engine &Engine::instance()