#include "supertux/timer.hpp"
Timer::Timer() :
- period(0),
-cycle_start(0),
+ period(0),
+cycle_start(0),
cyclic(false)
{
}
}
void
-Timer::start(float period, bool cyclic)
+Timer::start(float period_, bool cyclic_)
{
- this->period = period;
- this->cyclic = cyclic;
+ this->period = period_;
+ this->cyclic = cyclic_;
cycle_start = game_time;
}