From bc73f5f075540c2f60b3ec2e216a3ecda85fdfc3 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 1 Aug 2020 15:51:18 +0300 Subject: Add GUI --- scripts/GUI.gd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 scripts/GUI.gd (limited to 'scripts/GUI.gd') diff --git a/scripts/GUI.gd b/scripts/GUI.gd new file mode 100644 index 0000000..1e0a781 --- /dev/null +++ b/scripts/GUI.gd @@ -0,0 +1,18 @@ +extends MarginContainer +class_name GUI + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(_delta): + pass + +func set_debug_text(text: String): + $VBoxContainer/Label.set_text(text) -- cgit v1.3