summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.h')
-rw-r--r--src/compoundsprite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compoundsprite.h b/src/compoundsprite.h
index 3a5e0129..17fdfd18 100644
--- a/src/compoundsprite.h
+++ b/src/compoundsprite.h
@@ -70,6 +70,8 @@ public:
size_t getFrameCount() const;
+ int getDuration() const;
+
size_t size() const
{ return std::vector<Sprite*>::size(); }