[Super-tux-commit] supertux/src timer.h,1.19,1.20
Brought to you by:
wkendrick
|
From: Matze B. <mat...@us...> - 2005-03-30 03:02:08
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20982/src Modified Files: timer.h Log Message: added unstable_tile object Index: timer.h =================================================================== RCS file: /cvsroot/super-tux/supertux/src/timer.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- timer.h 23 Nov 2004 22:51:03 -0000 1.19 +++ timer.h 30 Mar 2005 03:02:00 -0000 1.20 @@ -21,6 +21,9 @@ * successfull check */ bool check(); + /** stop the timer */ + void stop() + { start(0); } /** returns the period of the timer or 0 if it isn't started */ float get_period() const |