summaryrefslogtreecommitdiff
path: root/src/resources/action.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-02 21:25:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 21:25:21 +0300
commit0534847df83047f1ce2605187d45a762ffeae11e (patch)
tree92365ee5ec086b3c65f024096df9d63bd05b31d4 /src/resources/action.h
parent4f390339f8107c376a10151a2cae889c0ec01089 (diff)
downloadManaVerse-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.h6
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;