diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-28 23:36:15 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-29 13:24:20 +0100 |
commit | 8e4fe8414eed9fc4934a0d0e34eee578e0216dc7 (patch) | |
tree | 1e83aa3712bd2f2b5da4a1ddc5226563215ff1be /src/animatedsprite.cpp | |
parent | 3cd5ac3ced565c86a5e5ca4fdb336e91ba55f524 (diff) | |
download | mana-8e4fe8414eed9fc4934a0d0e34eee578e0216dc7.tar.gz mana-8e4fe8414eed9fc4934a0d0e34eee578e0216dc7.tar.bz2 mana-8e4fe8414eed9fc4934a0d0e34eee578e0216dc7.tar.xz mana-8e4fe8414eed9fc4934a0d0e34eee578e0216dc7.zip |
Removed Sprite::getCurrentFrame and Sprite::getFrameCount
They are apparently no longer being used.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r-- | src/animatedsprite.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp index 222ae9ac..54a11d87 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -194,18 +194,6 @@ bool AnimatedSprite::setDirection(SpriteDirection direction) return false; } -size_t AnimatedSprite::getCurrentFrame() const -{ - return mFrameIndex; -} - -size_t AnimatedSprite::getFrameCount() const -{ - if (mAnimation) - return mAnimation->getLength(); - return 0; -} - int AnimatedSprite::getDuration() const { if (mAnimation) |