diff options
Diffstat (limited to 'yage/entity/entitymanager.h')
-rw-r--r-- | yage/entity/entitymanager.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/yage/entity/entitymanager.h b/yage/entity/entitymanager.h index 85ad9051..2de5e13c 100644 --- a/yage/entity/entitymanager.h +++ b/yage/entity/entitymanager.h @@ -9,8 +9,6 @@ #ifndef YAGE_ENGINE_ENTITYMANAGER_H #define YAGE_ENGINE_ENTITYMANAGER_H -#include "entity.h" - #include <vector> namespace yage @@ -18,6 +16,8 @@ namespace yage class Space; +typedef unsigned int Entity; + /** * Manages entities in a space. */ @@ -51,7 +51,12 @@ public: * * @return The handle to the entity that was created in the space. */ - unsigned createEntity(); + Entity createEntity(); + + /** + * Delete an entity. + */ + void deleteEntity(Entity entity); private: /** |