Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index 0b25dad..d6000b9 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -133,8 +133,11 @@ public:
/*----- static ---------------------------------------------------- */
+ /// type definition for the entity registry
+ typedef std::map<unsigned int, Entity*> Registry;
+
/// the entity registry
- static std::map<unsigned int, Entity*> registry;
+ static Registry registry;
/// find an entity in the registry
static Entity *find(unsigned int id);