diff options
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h index 90f350e..140f6ca 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -471,6 +471,9 @@ public: /// find an entity in the registry static Entity *find(unsigned int id); + + /// find an entity in the registry + static Entity *find(Entity * entity); /// add an entity to the registry static void add(Entity *ent, unsigned int it); |