diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-04-30 23:11:30 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-04-30 23:11:30 +0100 |
commit | 448e543b925ef1048b4a1a7abfc4a7a0c16a05eb (patch) | |
tree | d484d9593457143b4d4c95c9cddc42d4597707e4 /yage/entity/entitymanager.h | |
parent | b9db19ca3f12932b1968a99c2213886167efed81 (diff) | |
download | YAGE-448e543b925ef1048b4a1a7abfc4a7a0c16a05eb.tar.gz YAGE-448e543b925ef1048b4a1a7abfc4a7a0c16a05eb.zip |
Fixed types and removed unnecessary function
Diffstat (limited to 'yage/entity/entitymanager.h')
-rw-r--r-- | yage/entity/entitymanager.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/yage/entity/entitymanager.h b/yage/entity/entitymanager.h index da125d94..85ad9051 100644 --- a/yage/entity/entitymanager.h +++ b/yage/entity/entitymanager.h @@ -53,19 +53,11 @@ public: */ unsigned createEntity(); - /** - * Creates an Entity and returns it. - * - * @return The entity that was created by the entity manager in the current - * space. - */ - Entity createEntityInstance(); - private: /** * The next available handle to give to the user. */ - unsigned next_handle_; + Entity next_entity_ = 0; /** * The space that the entity manager belongs to. |