summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 15:21:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 15:21:11 +0300
commitad3ee95f90bfd368a511407c13718b900e44be0f (patch)
treef3f41b9802d684d784b7cef05e0d6ae2383b5e5b /src/animatedsprite.h
parentfba4289e53447a09dcf82211e2dab3563e2581f1 (diff)
downloadmanaverse-ad3ee95f90bfd368a511407c13718b900e44be0f.tar.gz
manaverse-ad3ee95f90bfd368a511407c13718b900e44be0f.tar.bz2
manaverse-ad3ee95f90bfd368a511407c13718b900e44be0f.tar.xz
manaverse-ad3ee95f90bfd368a511407c13718b900e44be0f.zip
Move spritedirection into separate file.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r--src/animatedsprite.h4
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. */