| 32 | } |
| 33 | |
| 34 | void GameClock::update(double deltaRealTimeSeconds) |
| 35 | { |
| 36 | m_TotalSecondsRunning += deltaRealTimeSeconds; |
| 37 | m_LastFrameDeltaTime = deltaRealTimeSeconds; |
| 38 | m_totalTimeInDays += totalSpeedUp() * deltaRealTimeSeconds / SECONDS_IN_A_DAY; |
| 39 | } |
| 40 | |
| 41 | void GameClock::getTimeOfDay(int& hours, int& minutes) const |
| 42 | { |
no outgoing calls
no test coverage detected