print available shortcuts

This commit is contained in:
2022-07-05 01:17:49 +00:00
parent feb5bda67b
commit d039d6cb91

View File

@@ -20,6 +20,11 @@
(set FlxG.sound.volumeDownKeys null)
(set FlxG.sound.volumeUpKeys null)
(set shortcutHandler.onSelectPrefixMap ->map {
(clearUI)
(doFor =>key thing map
(displayMessage "$key - $thing"))})
// TODO find a better way to pass the archiveDir to a HaxeFlixel game
(let [archiveDir
(or (Sys.getEnv "NAT_DIR") (throw "NAT_DIR environment variable must be set"))