* Returns to the previous screen. * @param action Pointer to an action. */
| 545 | * @param action Pointer to an action. |
| 546 | */ |
| 547 | void NewBattleState::btnCancelClick(Action *) |
| 548 | { |
| 549 | save(); |
| 550 | _game->setSavedGame(0); |
| 551 | _game->popState(); |
| 552 | } |
| 553 | |
| 554 | /** |
| 555 | * Randomize the state |
nothing calls this directly
no test coverage detected