From 823aa330987205b251d9f662cfdd4c39149c6ec7 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 21 Mar 2007 21:56:12 +0000 Subject: Renamed Spriteset to ImageSet. --- src/simpleanimation.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/simpleanimation.cpp') diff --git a/src/simpleanimation.cpp b/src/simpleanimation.cpp index a0aedc06..5fc35bcd 100644 --- a/src/simpleanimation.cpp +++ b/src/simpleanimation.cpp @@ -23,12 +23,10 @@ #include "simpleanimation.h" -#include "graphics.h" - void SimpleAnimation::update(unsigned int timePassed) { - mAnimationTime+=timePassed; + mAnimationTime += timePassed; while (mAnimationTime > mCurrentFrame->delay) { mAnimationTime -= mCurrentFrame->delay; -- cgit v1.2.3-60-g2f50