summaryrefslogtreecommitdiff
path: root/src/compoundsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.h')
-rw-r--r--src/compoundsprite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compoundsprite.h b/src/compoundsprite.h
index 2211cb80c..d1b019057 100644
--- a/src/compoundsprite.h
+++ b/src/compoundsprite.h
@@ -85,6 +85,9 @@ public:
size_t size() const
{ return std::vector<Sprite*>::size(); }
+ bool empty() const
+ { return std::vector<Sprite*>::empty(); }
+
void addSprite(Sprite* sprite);
void setSprite(int layer, Sprite* sprite);