Quit to desktop
This commit is contained in:
@@ -46,11 +46,14 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
(method :Void showPauseMenu [:Continuation resume]
|
(method :Void showPauseMenu [:Continuation resume]
|
||||||
// TODO register escape to resume (and register escape to pause lol)
|
// TODO register escape to resume (and register escape to pause when resuming lol)
|
||||||
(chooseString "PAUSED" ["Resume"]
|
(chooseString "PAUSED" ["Resume" "Options" "Main Menu" "Quit to Desktop"]
|
||||||
->choice
|
->choice
|
||||||
(case choice
|
(case choice
|
||||||
("Resume" (resume))
|
("Resume" (resume))
|
||||||
|
("Options" null) // TODO
|
||||||
|
("Main Menu" null) // TODO
|
||||||
|
("Quit to Desktop" (Sys.exit 0))
|
||||||
(never otherwise))))
|
(never otherwise))))
|
||||||
|
|
||||||
(method :Void showSet [:FlxSprite setSprite :SceneTime time :ScenePerspective perspective :Appearance appearance :FlxCamera camera :Continuation cc]
|
(method :Void showSet [:FlxSprite setSprite :SceneTime time :ScenePerspective perspective :Appearance appearance :FlxCamera camera :Continuation cc]
|
||||||
|
Reference in New Issue
Block a user