| 212 | } |
| 213 | |
| 214 | void BaseEngine::resetSession() |
| 215 | { |
| 216 | // the order is important: first destroy old session |
| 217 | // GameSession's destructor will clean up worlds |
| 218 | m_Session = nullptr; |
| 219 | m_Session = std::make_unique<GameSession>(*this); |
| 220 | } |
| 221 | |
| 222 | GameClock& BaseEngine::getGameClock() |
| 223 | { |
no outgoing calls
no test coverage detected