summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-10-26 00:02:01 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-10-26 00:02:01 +0000
commit050cee64b64aba57de84383c7138c1ad0f4ded55 (patch)
tree7c080b187c9a0b1d6b1435141cfb956c379b3ca4 /src/localplayer.h
parent796c2addfb17b57992d304667248873ee26088dc (diff)
downloadmana-client-050cee64b64aba57de84383c7138c1ad0f4ded55.tar.gz
mana-client-050cee64b64aba57de84383c7138c1ad0f4ded55.tar.bz2
mana-client-050cee64b64aba57de84383c7138c1ad0f4ded55.tar.xz
mana-client-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.h11
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);