void LightManager::FastForwardTime(TimerTypes eTimer, float secFF ) { if(eTimer == TIMER_ALL || eTimer == TIMER_SUN) m_sunTimer.Fastforward(secFF); if(eTimer == TIMER_ALL || eTimer == TIMER_LIGHTS) { std::for_each(m_lightTimers.begin(), m_lightTimers.end(), FFTimer(secFF)); std::for_each(m_extraTimers.begin(), m_extraTimers.end(), FFTimer(secFF)); } }
void LightEnv::FastForwardTime( float secFF ) { m_sunTimer.Fastforward(secFF); std::for_each(m_lightTimers.begin(), m_lightTimers.end(), FFTimer(secFF)); }