summaryrefslogtreecommitdiff
path: root/src/simpleanimation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r--src/simpleanimation.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/simpleanimation.h b/src/simpleanimation.h
index 3eb51c7e..a56c31da 100644
--- a/src/simpleanimation.h
+++ b/src/simpleanimation.h
@@ -27,7 +27,6 @@
#include "resources/animation.h"
class Frame;
-class Graphics;
/**
* This class is a leightweight alternative to the AnimatedSprite class.
@@ -50,10 +49,17 @@ class SimpleAnimation
Image *getCurrentImage() const;
private:
- Animation *mAnimation; /**< The hosted animation */
- unsigned int mAnimationTime; /**< Time in game ticks the current frame is shown*/
- unsigned int mAnimationPhase; /**< Index of current animation phase*/
- Frame *mCurrentFrame; /**< Current animation phase */
+ /** The hosted animation. */
+ Animation *mAnimation;
+
+ /** Time in game ticks the current frame is shown. */
+ unsigned int mAnimationTime;
+
+ /** Index of current animation frame. */
+ unsigned int mAnimationPhase;
+
+ /** Current animation frame. */
+ Frame *mCurrentFrame;
};
#endif