#303: Typo fixes from mathnerd314
[supertux.git] / src / timer.hpp
index 8b5641c..4168bae 100644 (file)
 #define __SUPERTUX_TIMER_H__
 
 extern float game_time;
+extern float real_time;
 
 /**
- * new simpler timer designed to be used in the update functions of objects
+ * Simple timer designed to be used in the update functions of objects
  */
 class Timer
 {
@@ -32,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 */
@@ -61,4 +62,3 @@ private:
 };
 
 #endif
-