#303: Typo fixes from mathnerd314
[supertux.git] / src / timer.hpp
index 46f00f4..4168bae 100644 (file)
@@ -1,7 +1,7 @@
 //  $Id$
-// 
+//
 //  SuperTux
-//  Copyright (C) 2005 Matthias Braun <matze@braunis.de>
+//  Copyright (C) 2006 Matthias Braun <matze@braunis.de>
 //
 //  This program is free software; you can redistribute it and/or
 //  modify it under the terms of the GNU General Public License
@@ -12,7 +12,7 @@
 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 //  GNU General Public License for more details.
-// 
+//
 //  You should have received a copy of the GNU General Public License
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 #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
-