| 106 | } |
| 107 | |
| 108 | void GameClock::dayTimeTohm(double timeOfDay, int& hours, int& minutes) |
| 109 | { |
| 110 | hours = static_cast<int>(timeOfDay * 24); |
| 111 | minutes = static_cast<int>((timeOfDay * 24 - hours) * 60); |
| 112 | } |
| 113 | |
| 114 | void GameClock::resetNewGame() |
| 115 | { |
nothing calls this directly
no outgoing calls
no test coverage detected