summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r--src/animatedsprite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h
index 2a2cfb8d8..16bcdf2da 100644
--- a/src/animatedsprite.h
+++ b/src/animatedsprite.h
@@ -84,6 +84,8 @@ class AnimatedSprite : public Sprite
virtual void *getHash();
+ bool updateNumber(unsigned num);
+
private:
bool updateCurrentAnimation(unsigned int dt);
@@ -97,6 +99,8 @@ class AnimatedSprite : public Sprite
Action *mAction; /**< The currently active action. */
Animation *mAnimation; /**< The currently active animation. */
Frame *mFrame; /**< The currently active frame. */
+ unsigned mNumber;
+ unsigned mNumber1;
};
#endif