summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r--src/being/compoundsprite.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h
index 4a7ed6fb0..babf6fc60 100644
--- a/src/being/compoundsprite.h
+++ b/src/being/compoundsprite.h
@@ -119,6 +119,12 @@ class CompoundSprite notfinal : public Sprite
static void setEnableDelay(bool b)
{ mEnableDelay = b; }
+ int getLastTime() const A_WARN_UNUSED
+ { return mLastTime; }
+
+ int getStartTime() const A_WARN_UNUSED
+ { return mStartTime; }
+
private:
void redraw() const;
@@ -137,6 +143,8 @@ class CompoundSprite notfinal : public Sprite
mutable int mOffsetX;
mutable int mOffsetY;
+ int mStartTime;
+ int mLastTime;
std::vector<Sprite*> mSprites;
#ifndef USE_SDL2
mutable int mNextRedrawTime;