projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more work on forest level
[supertux.git]
/
src
/
timer.h
diff --git
a/src/timer.h
b/src/timer.h
index
4640e57
..
9e93c90
100644
(file)
--- a/
src/timer.h
+++ b/
src/timer.h
@@
-21,6
+21,9
@@
public:
* 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