file: SimpleGameMenu.aus

class: SimpleGameMenu

[19:7] extends: FXGLMenu

Wraps FXGL's SimpleGameMenu (com.almasb.fxgl.app.scene.SimpleGameMenu), a minimal in-game pause menu with just Resume and Exit (or Exit-to-main-menu when GameSettings.isMainMenuEnabled is true). Uses /assets/textures/pause_menu_bg.png as the background image. Always built as a GAME_MENU; return one from a SceneFactory override of newGameMenu to use it in place of the default menu.

Methods