From a68d11c8f32ac8795a27fe3bc27e1943ee6dc813 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Tue, 13 Sep 2005 21:33:02 +0000 Subject: Merge createBeing and add_node. --- src/being.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being.h') 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); }; -/** 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); -- cgit v1.2.3-70-g09d2