diff options
Diffstat (limited to 'src/simpleanimation.cpp')
-rw-r--r-- | src/simpleanimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp index 7038f446..678116cc 100644 --- a/src/simpleanimation.cpp +++ b/src/simpleanimation.cpp @@ -139,7 +139,7 @@ void SimpleAnimation::setFrame(int frame) mCurrentFrame = mAnimation->getFrame(mAnimationPhase); } -void SimpleAnimation::update(unsigned int timePassed) +void SimpleAnimation::update(int timePassed) { mAnimationTime += timePassed; @@ -155,7 +155,7 @@ void SimpleAnimation::update(unsigned int timePassed) } } -int SimpleAnimation::getLength() +int SimpleAnimation::getLength() const { return mAnimation->getLength(); } |