From ad3ee95f90bfd368a511407c13718b900e44be0f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 19 May 2014 15:21:11 +0300 Subject: Move spritedirection into separate file. --- src/animatedsprite.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/animatedsprite.h') 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. */ -- cgit v1.2.3-60-g2f50