bool Timer::HasPeriodPassed(double timePeriod){ m_UpdateTime(); boolean tempVal = ((Timer::m_currentTime - Timer::m_lastInterval) >= timePeriod); if(tempVal){ Timer::m_lastInterval = Timer::m_currentTime; } return tempVal; }
void Carte::Work() { m_UpdateTime(); m_ciel.Work(); }
double Timer::Get(){ m_UpdateTime(); return(Timer::m_currentTime); }