aboutsummaryrefslogtreecommitdiffstats
path: root/yage/entity/space.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-05-04 18:37:00 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-05-04 18:37:00 +0100
commit35937f1e76402d25fce180c0519bef6ce77769fe (patch)
treedfbae0532ec2ce4e706fb8ad8fbfe0b1a7ed862d /yage/entity/space.h
parent09535633913069f4653c270501059c38c2d09a99 (diff)
downloadYAGE-35937f1e76402d25fce180c0519bef6ce77769fe.tar.gz
YAGE-35937f1e76402d25fce180c0519bef6ce77769fe.zip
Improving ECS and adding documentation.
Diffstat (limited to 'yage/entity/space.h')
-rw-r--r--yage/entity/space.h12
1 files changed, 11 insertions, 1 deletions
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