summaryrefslogtreecommitdiff
path: root/src/resources/sprite/animatedsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sprite/animatedsprite.h')
-rw-r--r--src/resources/sprite/animatedsprite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/sprite/animatedsprite.h b/src/resources/sprite/animatedsprite.h
index 03b276a9b..752e66eee 100644
--- a/src/resources/sprite/animatedsprite.h
+++ b/src/resources/sprite/animatedsprite.h
@@ -112,6 +112,9 @@ class AnimatedSprite final : public Sprite
static void setEnableCache(const bool b)
{ mEnableCache = b; }
+ void setLastTime(const int time)
+ { mLastTime = time; }
+
#ifdef UNITTESTS
SpriteDef *getSprite() restrict2
{ return mSprite; }