diff options
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r-- | src/simpleanimation.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/simpleanimation.h b/src/simpleanimation.h index 16ac2906..e48644d4 100644 --- a/src/simpleanimation.h +++ b/src/simpleanimation.h @@ -50,6 +50,13 @@ class SimpleAnimation void update(unsigned int timePassed); + bool draw(Graphics* graphics, int posX, int posY) const; + + /** + * Resets the animation. + */ + void reset(); + Image *getCurrentImage() const; private: |