|
stmm-games-doc
0.32.0
|

Public Member Functions | |
| virtual | ~GameOwner () noexcept=default |
| virtual void | gameEnded () noexcept=0 |
| Tells the owner the game has ended. More... | |
| virtual void | gameInterrupt (GameProxy::INTERRUPT_TYPE eInterruptType) noexcept=0 |
| Tells owner to possibly interrupt the current game. More... | |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Tells the owner the game has ended.
This function expects the owner to add the scores of the team(s) to the highscores if available.
Implemented in stmg::testing::GameOwnerFixture.
|
pure virtualnoexcept |
Tells owner to possibly interrupt the current game.
For INTERRUPT_PAUSE the owner will in turn stop calling Game::handleTimer() and Game::handleInput() for as long as the game remains paused.
The owner should also momentarily pause the game for all interrupt that ask the "Are you sure" question.
| eInterruptType | The interrupt type. |
Implemented in stmg::testing::GameOwnerFixture.
1.8.13