diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-18 23:21:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-18 23:21:31 +0300 |
commit | b5589bc5a7f426fa067e3800db1b138852c75286 (patch) | |
tree | 1d73adc5790923a0d848754202743de29a60467f /src/compoundsprite.cpp | |
parent | 71ba93abb9436eabc9fed8e4e49ab5cdee47bb38 (diff) | |
download | plus-b5589bc5a7f426fa067e3800db1b138852c75286.tar.gz plus-b5589bc5a7f426fa067e3800db1b138852c75286.tar.bz2 plus-b5589bc5a7f426fa067e3800db1b138852c75286.tar.xz plus-b5589bc5a7f426fa067e3800db1b138852c75286.zip |
Rename sprites method setDirection to setSpriteDirection.
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r-- | src/compoundsprite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp index fe724e170..4f8333525 100644 --- a/src/compoundsprite.cpp +++ b/src/compoundsprite.cpp @@ -193,7 +193,7 @@ const Image* CompoundSprite::getImage() const return mImage; } -bool CompoundSprite::setDirection(SpriteDirection direction) +bool CompoundSprite::setSpriteDirection(SpriteDirection direction) { bool ret = false; @@ -201,7 +201,7 @@ bool CompoundSprite::setDirection(SpriteDirection direction) for (it = begin(), it_end = end(); it != it_end; ++it) { if (*it) - ret |= (*it)->setDirection(direction); + ret |= (*it)->setSpriteDirection(direction); } mNeedsRedraw |= ret; |