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 aae116be..67e9c7cb 100644
--- a/src/animatedsprite.h
+++ b/src/animatedsprite.h
@@ -73,6 +73,10 @@ class AnimatedSprite : public Sprite
int getNumberOfLayers()
{ return 1; }
+ size_t getCurrentFrame() const;
+
+ size_t getFrameCount() const;
+
private:
bool updateCurrentAnimation(unsigned int dt);