summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-25 15:43:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-25 15:43:51 +0300
commit4a21e45a63137009a654a212ea7512ecc2846648 (patch)
tree13e0b726bacb3f73d9bf215a4c195ea75d4f6a55 /src/localplayer.h
parent5f97d3fd31bb5a17037610342ea09c21da9c47d3 (diff)
downloadplus-4a21e45a63137009a654a212ea7512ecc2846648.tar.gz
plus-4a21e45a63137009a654a212ea7512ecc2846648.tar.bz2
plus-4a21e45a63137009a654a212ea7512ecc2846648.tar.xz
plus-4a21e45a63137009a654a212ea7512ecc2846648.zip
Add consts to being class.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index a12aacc91..b9e012d45 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -84,7 +84,7 @@ class LocalPlayer : public Being, public ActorSpriteListener,
void slowLogic();
- virtual void setAction(Action action, int attackType = 0);
+ virtual void setAction(const Action action, const int attackType = 0);
/**
* Compute the next pathnode location when walking using keyboard.
@@ -160,7 +160,7 @@ class LocalPlayer : public Being, public ActorSpriteListener,
/**
* Sets a new destination for this being to walk to.
*/
- virtual void setDestination(int x, int y);
+ virtual void setDestination(const int x, const int y);
/**
* Sets a new direction to keep walking in.