summaryrefslogtreecommitdiff
path: root/src/resources/action.h
diff options
context:
space:
mode:
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;