diff options
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 7d6f3862..7a5158cc 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -252,6 +252,17 @@ class LocalPlayer : public Player void setWalkingDir(int dir); /** + * Gets the walking direction + */ + int getWalkingDir() const + { return mWalkingDir; } + + /** + * Stops the player dead in his tracks + */ + void stopWalking(bool sendToServer = true); + + /** * Uses a character point to raise an attribute */ void raiseAttribute(size_t attr); |