diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-23 13:30:43 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-23 13:30:43 +0000 |
commit | 2aa377c9f3c5a1a6079be6c91a14777a357e270a (patch) | |
tree | ba308874148089e319f2ca796964d089d9beb344 /src/being.h | |
parent | a9f0bca7aab054aae146a4044a4a904d0c54020b (diff) | |
download | mana-2aa377c9f3c5a1a6079be6c91a14777a357e270a.tar.gz mana-2aa377c9f3c5a1a6079be6c91a14777a357e270a.tar.bz2 mana-2aa377c9f3c5a1a6079be6c91a14777a357e270a.tar.xz mana-2aa377c9f3c5a1a6079be6c91a14777a357e270a.zip |
Removed knowledge about the engine and maps from the being class..
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 10 |
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 */ |