summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-01-28 23:36:15 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-01-29 13:24:20 +0100
commit8e4fe8414eed9fc4934a0d0e34eee578e0216dc7 (patch)
tree1e83aa3712bd2f2b5da4a1ddc5226563215ff1be /src/animatedsprite.cpp
parent3cd5ac3ced565c86a5e5ca4fdb336e91ba55f524 (diff)
downloadMana-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.cpp12
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)