summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h
index 6eef83c6..9213a2dc 100644
--- a/src/being.h
+++ b/src/being.h
@@ -184,12 +184,17 @@ class Being : public Sprite, public ConfigListener
virtual void setDestination(Uint16 destX, Uint16 destY);
#else
/**
+ * Returns the path to the being's current destination
+ */
+ virtual Path findPath();
+
+ /**
* Creates a path for the being from sx,sy to ex,ey
*/
void setDestination(int sx, int sy, int ex, int ey);
/**
- * Creates a path for the being from currect position to ex and ey
+ * Creates a path for the being from current position to ex and ey
*/
void setDestination(int ex, int ey);
@@ -410,7 +415,6 @@ class Being : public Sprite, public ConfigListener
*/
const Vector &getPosition() const { return mPos; }
-
/**
* Returns the horizontal size of the current base sprite of the being.
*/