diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-04 00:32:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-04 00:32:54 +0300 |
commit | cad3b1d8688b94b185ada0f0b313435ac4b3b457 (patch) | |
tree | a27c65075d745208bd8ba1029762507abf740db8 /src/animatedsprite.h | |
parent | dc599c219c283a4f7517c8ffe1e781b9847ef045 (diff) | |
download | mv-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.gz mv-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.bz2 mv-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.xz mv-cad3b1d8688b94b185ada0f0b313435ac4b3b457.zip |
fix code style.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h index df287a560..83722ebf8 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -110,16 +110,16 @@ class AnimatedSprite final : public Sprite SpriteDef *getSprite() { return mSprite; } - Frame *getFrame() + const Frame *getFrame() const { return mFrame; } - Animation *getAnimation() + const Animation *getAnimation() const { return mAnimation; } - unsigned int getFrameIndex() + unsigned int getFrameIndex() const { return mFrameIndex; } - unsigned int getFrameTime() + unsigned int getFrameTime() const { return mFrameTime; } #endif @@ -135,7 +135,7 @@ class AnimatedSprite final : public Sprite unsigned int mFrameTime; /**< The time since start of frame. */ SpriteDef *mSprite; /**< The sprite definition. */ - const Action *mAction; /**< The currently active action. */ + const Action *mAction; /**< The currently active action. */ const Animation *mAnimation; /**< The currently active animation. */ const Frame *mFrame; /**< The currently active frame. */ unsigned mNumber; |