aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/animation.h
diff options
context:
space:
mode:
authorVladimir Menshakov2010-01-04 11:12:19 +0000
committerVladimir Menshakov2010-01-04 11:12:19 +0000
commit50245ba5710df184af5b5e8f0037e87b33491cfe (patch)
tree330ec756ff03f491350dc067bcc71e58df26e2bd /engines/teenagent/animation.h
parentc25f24efc74340c45e25382430b8b9b820a68775 (diff)
downloadscummvm-rg350-50245ba5710df184af5b5e8f0037e87b33491cfe.tar.gz
scummvm-rg350-50245ba5710df184af5b5e8f0037e87b33491cfe.tar.bz2
scummvm-rg350-50245ba5710df184af5b5e8f0037e87b33491cfe.zip
added idle animation
svn-id: r46968
Diffstat (limited to 'engines/teenagent/animation.h')
-rw-r--r--engines/teenagent/animation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/teenagent/animation.h b/engines/teenagent/animation.h
index 3e65a73b94..f77fbcf679 100644
--- a/engines/teenagent/animation.h
+++ b/engines/teenagent/animation.h
@@ -44,6 +44,7 @@ public:
Surface *firstFrame();
Surface *currentFrame(int dt = 1);
uint16 currentIndex() const { return index; }
+ void resetIndex() { index = 0; }
~Animation();