aboutsummaryrefslogtreecommitdiffstats
path: root/yage/entity/space.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yage/entity/space.cpp')
-rw-r--r--yage/entity/space.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/yage/entity/space.cpp b/yage/entity/space.cpp
index f3e343b5..24afda72 100644
--- a/yage/entity/space.cpp
+++ b/yage/entity/space.cpp
@@ -18,4 +18,11 @@ unsigned Space::createEntity()
return em_.createEntity();
}
+void Space::update()
+{
+ for (auto &system : systems_) {
+ system->update();
+ }
+}
+
} // namespace yage