some fixes for the text object
[supertux.git] / src / timer.cpp
index 7b2854c..273cf8e 100644 (file)
@@ -17,7 +17,6 @@
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //  02111-1307, USA.
-
 #include <config.h>
 
 #include <math.h>
 
 float global_time = 0;
 
-Timer2::Timer2()
+Timer::Timer()
   : period(0), cycle_start(0), cyclic(false)
 {
 }
 
-Timer2::~Timer2()
+Timer::~Timer()
 {
 }
 
 void
-Timer2::start(float period, bool cyclic)
+Timer::start(float period, bool cyclic)
 {
   this->period = period;
   this->cyclic = cyclic;
@@ -43,7 +42,7 @@ Timer2::start(float period, bool cyclic)
 }
 
 bool
-Timer2::check()
+Timer::check()
 {
   if(period == 0)
     return false;