MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / btnNewGameClick

Method btnNewGameClick

src/Menu/MainMenuState.cpp:120–123  ·  view source on GitHub ↗

* Opens the New Game window. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

118 * @param action Pointer to an action.
119 */
120void MainMenuState::btnNewGameClick(Action *)
121{
122 _game->pushState(new NewGameState(_game));
123}
124
125/**
126 * Opens the New Battle screen.

Callers

nothing calls this directly

Calls 1

pushStateMethod · 0.80

Tested by

no test coverage detected