diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-21 21:56:12 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-03-21 21:56:12 +0000 |
commit | 823aa330987205b251d9f662cfdd4c39149c6ec7 (patch) | |
tree | 55e78b4621bfc867b5ff1ecee101d46a6d7169e2 /src/simpleanimation.h | |
parent | 9d51b2e1077042ae42d42a0e6314e439c62e2925 (diff) | |
download | mana-823aa330987205b251d9f662cfdd4c39149c6ec7.tar.gz mana-823aa330987205b251d9f662cfdd4c39149c6ec7.tar.bz2 mana-823aa330987205b251d9f662cfdd4c39149c6ec7.tar.xz mana-823aa330987205b251d9f662cfdd4c39149c6ec7.zip |
Renamed Spriteset to ImageSet.
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r-- | src/simpleanimation.h | 16 |
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 |