NAT godot playground UI implementation skeleton

This commit is contained in:
2023-02-11 16:01:59 -07:00
parent 7e023d6167
commit 1fc1c98468
12 changed files with 137 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
(method &override &public :Void _Ready []
// TODO find a better way to pass the archiveDir to a Godot game
(let [archiveDir
(or (Sys.getEnv "NAT_DIR") (throw "NAT_DIR environment variable must be set"))
archive
(new Archive archiveDir)
ui (new GodotUI archive this)
controller (new ArchiveController archive ui)]
(set ui.controller controller)))