diff options
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h index 054fcdb68..2d8a55f26 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -101,6 +101,9 @@ class AnimatedSprite final : public Sprite void setSprite(SpriteDef *const sprite) { mSprite = sprite; } + bool isTerminated() const + { return mTerminated; } + static void setEnableCache(const bool b) { mEnableCache = b; } @@ -122,6 +125,7 @@ class AnimatedSprite final : public Sprite unsigned mNumber; unsigned mNumber1; AnimationDelayLoad *mDelayLoad; + bool mTerminated; static bool mEnableCache; }; |