NAT godot playground UI implementation skeleton
This commit is contained in:
9
projects/nat-godot-playground/scripts/RootNode.kiss
Normal file
9
projects/nat-godot-playground/scripts/RootNode.kiss
Normal 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)))
|
Reference in New Issue
Block a user