summaryrefslogtreecommitdiff
path: root/UI/HUD/CancelButton.gd
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-02-08 15:06:31 +0100
committerDaniel Weipert <code@drogueronin.de>2021-02-08 15:06:31 +0100
commite216bf93e77ceb42c8c5dc5e77ebff6e1968faa3 (patch)
tree1d589072972f34c3314bb740d2e257719fb54bed /UI/HUD/CancelButton.gd
parentcc278651a6aee0de5f928b4bc423e3b705a6b006 (diff)
Adds Cancel Button to Level HUD
Diffstat (limited to 'UI/HUD/CancelButton.gd')
-rw-r--r--UI/HUD/CancelButton.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/UI/HUD/CancelButton.gd b/UI/HUD/CancelButton.gd
new file mode 100644
index 0000000..51b146b
--- /dev/null
+++ b/UI/HUD/CancelButton.gd
@@ -0,0 +1,5 @@
+extends Button
+
+
+func _on_CancelButton_pressed():
+ Global.cancel_level()