summaryrefslogtreecommitdiff
path: root/ui/hud.gd
diff options
context:
space:
mode:
Diffstat (limited to 'ui/hud.gd')
-rw-r--r--ui/hud.gd13
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/hud.gd b/ui/hud.gd
new file mode 100644
index 0000000..49c5d34
--- /dev/null
+++ b/ui/hud.gd
@@ -0,0 +1,13 @@
+class_name HUD
+extends CanvasLayer
+
+
+var size: Vector2:
+ get():
+ return get_child(0).size
+
+
+var score: int:
+ set(value):
+ score = value
+ %Score.text = str(score)