From 0534847df83047f1ce2605187d45a762ffeae11e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Sep 2012 21:25:21 +0300 Subject: Add const to more classes. --- src/resources/action.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/action.h') 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 Animations; -- cgit v1.2.3-60-g2f50