From 35937f1e76402d25fce180c0519bef6ce77769fe Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 4 May 2018 18:37:00 +0100 Subject: Improving ECS and adding documentation. --- yage/entity/space.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'yage/entity/space.h') diff --git a/yage/entity/space.h b/yage/entity/space.h index 969ef503..113110aa 100644 --- a/yage/entity/space.h +++ b/yage/entity/space.h @@ -42,7 +42,12 @@ public: * visible to the user, as the user only needs to worry about the * handle when referring to the Entity and changing it. */ - unsigned createEntity(); + Entity createEntity(); + + /** + * Update all the systems. + */ + void update(); private: /** @@ -58,6 +63,11 @@ private: * current space. */ EntityManager em_; + + /** + * Manages all the components + */ + // ComponentManager cm_; }; } // namespace yage -- cgit