diff options
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 3 |
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; |