X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftimer.hpp;h=4168baefda36b55a988f6627388731c6877059dc;hb=198f758764fff064a47630b5d0f1e3d6aabe95a8;hp=903ffa8e48033849fc49a6ab9c696c638ed19e22;hpb=c62711567861587107d124642db29e2674ee6533;p=supertux.git diff --git a/src/timer.hpp b/src/timer.hpp index 903ffa8e4..4168baefd 100644 --- a/src/timer.hpp +++ b/src/timer.hpp @@ -33,12 +33,12 @@ public: ~Timer(); /** start the timer with the given period (in seconds). - * If cyclic=true then the timer willl be reset after each period. + * If cyclic=true then the timer will be reset after each period. * Set period to zero if you want to disable the timer. */ void start(float period, bool cyclic = false); /** returns true if a period (or more) passed since start call or last - * successfull check + * successful check */ bool check(); /** stop the timer */ @@ -62,4 +62,3 @@ private: }; #endif -