diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-25 18:30:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-25 18:30:10 +0000 |
commit | 812bb37b7e73104d97da35eb3e66046495aaa305 (patch) | |
tree | 63ee32e2c53d35aeb3dc219c8caa211de5fbf0cd /src/core/entity.h | |
parent | abe6c3dc6e6f9df40345d6aaf19f12fdfa3f3024 (diff) |
minor cleanups
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 5 |
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); |