summaryrefslogtreecommitdiffstats
path: root/scripts/GUI.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2020-08-01 15:51:18 +0300
committerJan Tuomi <jan.tuomi@valuemotive.com>2020-08-01 15:51:18 +0300
commitbc73f5f075540c2f60b3ec2e216a3ecda85fdfc3 (patch)
tree3f8bb7878c8aa36ecb30f0fe85c5114ab256c8f5 /scripts/GUI.gd
parent5e45d3f7b24b022040f47a8ab2d6bf4bb4d9b8b6 (diff)
Add GUI
Diffstat (limited to 'scripts/GUI.gd')
-rw-r--r--scripts/GUI.gd18
1 files changed, 18 insertions, 0 deletions
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)