summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorRoderic Morris <roderic@ccs.neu.edu>2009-07-01 20:39:28 -0400
committerRoderic Morris <roderic@ccs.neu.edu>2009-07-01 20:41:17 -0400
commit0bca1b9756a93d876cbf4a411b47634b87775162 (patch)
tree50eb8a593b1499c694add8e582823dc78b1459cb /src/player.h
parentcc8faa31bfae9f7bbce453a4ae69ef3d6eacbb96 (diff)
downloadmana-0bca1b9756a93d876cbf4a411b47634b87775162.tar.gz
mana-0bca1b9756a93d876cbf4a411b47634b87775162.tar.bz2
mana-0bca1b9756a93d876cbf4a411b47634b87775162.tar.xz
mana-0bca1b9756a93d876cbf4a411b47634b87775162.zip
Remove complex path finding for players. Add a simple path finding algorithm to map.
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 9a5c6c94..83cb4ec0 100644
--- a/src/player.h
+++ b/src/player.h
@@ -54,6 +54,10 @@ class Player : public Being
#ifdef EATHENA_SUPPORT
virtual void logic();
#endif
+ /**
+ * Returns the path to the player's current destination
+ */
+ Path findPath();
virtual Type getType() const;