summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r--src/animatedsprite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h
index a5d91095..5a19ee0d 100644
--- a/src/animatedsprite.h
+++ b/src/animatedsprite.h
@@ -77,6 +77,9 @@ class AnimatedSprite : public Sprite
int getNumberOfLayers()
{ return 1; }
+ virtual bool drawnWhenBehind() const
+ { return true; }
+
size_t getCurrentFrame() const;
size_t getFrameCount() const;