From e216bf93e77ceb42c8c5dc5e77ebff6e1968faa3 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 8 Feb 2021 15:06:31 +0100 Subject: Adds Cancel Button to Level HUD --- UI/HUD/CancelButton.gd | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 UI/HUD/CancelButton.gd (limited to 'UI/HUD/CancelButton.gd') 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() -- cgit v1.2.3