diff options
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 */ |