summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-13 21:33:02 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-09-13 21:33:02 +0000
commita68d11c8f32ac8795a27fe3bc27e1943ee6dc813 (patch)
tree09576a6d6bb87ce2fd2b2a1e577a4b8e9ee5d5ea /src/being.h
parenta4ebc80ec3aa5d5b7faf51ad878d11bd4a8915e9 (diff)
downloadmana-a68d11c8f32ac8795a27fe3bc27e1943ee6dc813.tar.gz
mana-a68d11c8f32ac8795a27fe3bc27e1943ee6dc813.tar.bz2
mana-a68d11c8f32ac8795a27fe3bc27e1943ee6dc813.tar.xz
mana-a68d11c8f32ac8795a27fe3bc27e1943ee6dc813.zip
Merge createBeing and add_node.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h6
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);