diff options
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being.h b/src/being.h index 8d945b76..3b9e0d93 100644 --- a/src/being.h +++ b/src/being.h @@ -232,9 +232,6 @@ class Being void setPath(std::list<PATH_NODE> path); }; -/** Add a Being to the list */ -void add_node(Being *being); - /** Return a specific id Being */ Being *findNode(unsigned int id); @@ -244,6 +241,9 @@ Being *findNode(unsigned short x, unsigned short y); /** Return a being at specific coordinates with specific type*/ Being *findNode(unsigned short x, unsigned short y, Being::Type type); +/** Create a being and add it to the list of beings */ +Being *createBeing(unsigned int id, unsigned short job, Map *map); + /** Remove a Being */ void remove_node(unsigned int id); |