From 8e4fe8414eed9fc4934a0d0e34eee578e0216dc7 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 28 Jan 2012 23:36:15 +0100 Subject: Removed Sprite::getCurrentFrame and Sprite::getFrameCount They are apparently no longer being used. Reviewed-by: Erik Schilling --- src/animatedsprite.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/animatedsprite.cpp') 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) -- cgit v1.2.3-60-g2f50