diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-19 15:21:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-19 15:21:11 +0300 |
commit | ad3ee95f90bfd368a511407c13718b900e44be0f (patch) | |
tree | f3f41b9802d684d784b7cef05e0d6ae2383b5e5b /src/animatedsprite.h | |
parent | fba4289e53447a09dcf82211e2dab3563e2581f1 (diff) | |
download | mv-ad3ee95f90bfd368a511407c13718b900e44be0f.tar.gz mv-ad3ee95f90bfd368a511407c13718b900e44be0f.tar.bz2 mv-ad3ee95f90bfd368a511407c13718b900e44be0f.tar.xz mv-ad3ee95f90bfd368a511407c13718b900e44be0f.zip |
Move spritedirection into separate file.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h index 4bef6face..2bf5815a0 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -78,7 +78,7 @@ class AnimatedSprite final : public Sprite const Image* getImage() const A_WARN_UNUSED; - bool setSpriteDirection(const SpriteDirection direction); + bool setSpriteDirection(const SpriteDirection::Type direction); int getNumberOfLayers() const A_WARN_UNUSED { return 1; } @@ -128,7 +128,7 @@ class AnimatedSprite final : public Sprite void setDelayLoad(const std::string &filename, const int variant); - SpriteDirection mDirection; /**< The sprite direction. */ + SpriteDirection::Type mDirection; /**< The sprite direction. */ int mLastTime; /**< The last time update was called. */ unsigned int mFrameIndex; /**< The index of the current frame. */ |