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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/action.h b/src/resources/action.h
index 05b326d8f..9ab6f98d5 100644
--- a/src/resources/action.h
+++ b/src/resources/action.h
@@ -43,10 +43,17 @@ class Action
Animation *getAnimation(int direction) const;
+ unsigned getNumber()
+ { return mNumber; }
+
+ void setNumber(unsigned n)
+ { mNumber = n; }
+
protected:
typedef std::map<int, Animation*> Animations;
typedef Animations::iterator AnimationIterator;
Animations mAnimations;
+ unsigned mNumber;
};
#endif