diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-10-26 00:02:01 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-10-26 00:02:01 +0000 |
commit | 050cee64b64aba57de84383c7138c1ad0f4ded55 (patch) | |
tree | 7c080b187c9a0b1d6b1435141cfb956c379b3ca4 /src/localplayer.h | |
parent | 796c2addfb17b57992d304667248873ee26088dc (diff) | |
download | mana-050cee64b64aba57de84383c7138c1ad0f4ded55.tar.gz mana-050cee64b64aba57de84383c7138c1ad0f4ded55.tar.bz2 mana-050cee64b64aba57de84383c7138c1ad0f4ded55.tar.xz mana-050cee64b64aba57de84383c7138c1ad0f4ded55.zip |
Pixel-accurate and fluently animated keyboard movement by Kage Jittai - albeit not flawless it is still a big improvement.
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); |