diff options
author | Roderic Morris <roderic@ccs.neu.edu> | 2009-07-01 20:28:34 -0400 |
---|---|---|
committer | Roderic Morris <roderic@ccs.neu.edu> | 2009-07-01 20:41:47 -0400 |
commit | 2ea700fc0388d843795b71a9d259876ce975926f (patch) | |
tree | a64bdc3163f0ffb1663e34c3dae8de0c34953220 /src/game-server/character.hpp | |
parent | 6b794e76f8f046dca632299e443129c4f5ca3382 (diff) | |
download | manaserv-2ea700fc0388d843795b71a9d259876ce975926f.tar.gz manaserv-2ea700fc0388d843795b71a9d259876ce975926f.tar.xz manaserv-2ea700fc0388d843795b71a9d259876ce975926f.zip |
Remove complex path finding for players. Add a simple path finding algorithm to map.
Diffstat (limited to 'src/game-server/character.hpp')
-rw-r--r-- | src/game-server/character.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game-server/character.hpp b/src/game-server/character.hpp index f930c33..a7b8dd5 100644 --- a/src/game-server/character.hpp +++ b/src/game-server/character.hpp @@ -77,6 +77,11 @@ class Character : public Being void respawn(); /** + * Returns the path to the character's current destination. + */ + std::list<PATH_NODE> findPath(); + + /** * makes the character perform a special action * when it is allowed to do so */ |