summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-23 13:30:43 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-23 13:30:43 +0000
commit2aa377c9f3c5a1a6079be6c91a14777a357e270a (patch)
treeba308874148089e319f2ca796964d089d9beb344 /src/being.h
parenta9f0bca7aab054aae146a4044a4a904d0c54020b (diff)
downloadmana-client-2aa377c9f3c5a1a6079be6c91a14777a357e270a.tar.gz
mana-client-2aa377c9f3c5a1a6079be6c91a14777a357e270a.tar.bz2
mana-client-2aa377c9f3c5a1a6079be6c91a14777a357e270a.tar.xz
mana-client-2aa377c9f3c5a1a6079be6c91a14777a357e270a.zip
Removed knowledge about the engine and maps from the being class..
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/being.h b/src/being.h
index 16273bdd..bb5c5393 100644
--- a/src/being.h
+++ b/src/being.h
@@ -45,7 +45,6 @@ class Being
public:
unsigned short job; /**< Job (player job, npc, monster, ) */
unsigned short x, y; /**< Tile coordinates */
- unsigned short destX, destY; /**< Destination tile coordinates */
unsigned char direction; /**< Facing direction */
unsigned char action;
unsigned char frame;
@@ -75,9 +74,9 @@ class Being
void clearPath();
/**
- * Sets a new destination for this being to walk to.
+ * Sets the new path for this being.
*/
- void setDestination(int x, int y);
+ void setPath(std::list<PATH_NODE> path);
/**
* Puts a "speech balloon" above this being for the specified amount
@@ -188,11 +187,6 @@ class Being
void setId(unsigned int id);
private:
- /**
- * Sets the new path for this being.
- */
- void setPath(std::list<PATH_NODE> path);
-
unsigned short m_weapon;
unsigned int m_id; /**< Unique id */