diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-02 21:25:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-02 21:25:21 +0300 |
commit | 0534847df83047f1ce2605187d45a762ffeae11e (patch) | |
tree | 92365ee5ec086b3c65f024096df9d63bd05b31d4 /src/resources/action.h | |
parent | 4f390339f8107c376a10151a2cae889c0ec01089 (diff) | |
download | manaverse-0534847df83047f1ce2605187d45a762ffeae11e.tar.gz manaverse-0534847df83047f1ce2605187d45a762ffeae11e.tar.bz2 manaverse-0534847df83047f1ce2605187d45a762ffeae11e.tar.xz manaverse-0534847df83047f1ce2605187d45a762ffeae11e.zip |
Add const to more classes.
Diffstat (limited to 'src/resources/action.h')
-rw-r--r-- | src/resources/action.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/action.h b/src/resources/action.h index 4492902b5..7b6494c99 100644 --- a/src/resources/action.h +++ b/src/resources/action.h @@ -38,17 +38,17 @@ class Action ~Action(); - void setAnimation(int direction, Animation *animation); + void setAnimation(const int direction, Animation *const animation); Animation *getAnimation(int direction) const; unsigned getNumber() const { return mNumber; } - void setNumber(unsigned n) + void setNumber(const unsigned n) { mNumber = n; } - void setLastFrameDelay(int delay); + void setLastFrameDelay(const int delay); protected: typedef std::map<int, Animation*> Animations; |