summaryrefslogtreecommitdiff
path: root/UI/Menu/MenuButton.gd
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-02-14 14:53:17 +0100
committerDaniel Weipert <code@drogueronin.de>2021-02-14 14:53:17 +0100
commit7115379ccf5714816eeb91fc16d3a63e019c8082 (patch)
treef28c7595ca3f1324bcffadd40027df6c46f7d321 /UI/Menu/MenuButton.gd
parent332bab8de321d0358b30d5bf159cbda512c14852 (diff)
Adds user configurable key bindings
Diffstat (limited to 'UI/Menu/MenuButton.gd')
-rw-r--r--UI/Menu/MenuButton.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/UI/Menu/MenuButton.gd b/UI/Menu/MenuButton.gd
new file mode 100644
index 0000000..e116acb
--- /dev/null
+++ b/UI/Menu/MenuButton.gd
@@ -0,0 +1,6 @@
+extends Button
+
+
+# freeze current scene and overlay Menu.tscn
+func _on_MenuButton_pressed():
+ Global.open_menu()