simplewindow test project

This commit is contained in:
2023-07-05 07:15:36 -06:00
parent f457e433f0
commit fd74689d2c
33 changed files with 288 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
(import flixel.FlxState)
(import kiss_flixel.SimpleWindow)
(extends FlxState)
(method &override :Void create []
(super.create)
(showMenu)
)
(method showMenu []
(SimpleWindow.promptForChoice "Testing SimpleWindow" ["Vertical" "Menu" "Quit"]
->:Void choice
(case choice
("Vertical"
null)
("Menu"
null)
("Quit"
(Sys.exit 0))
(never otherwise))))
(method &override :Void update [:Float elapsed]
(super.update elapsed))