a game about throwing hammers made for the github game off
Diffstat (limited to 'ui/cfg.gd')
-rw-r--r--ui/cfg.gd18
1 files changed, 0 insertions, 18 deletions
diff --git a/ui/cfg.gd b/ui/cfg.gd
deleted file mode 100644
index 87e6f32..0000000
--- a/ui/cfg.gd
+++ /dev/null
@@ -1,18 +0,0 @@
-extends ColorRect
-
-signal close
-
-@export var focus: Control
-
-func open() -> void:
- show()
- focus.button.grab_focus()
-
-func _input(event: InputEvent) -> void:
- if visible and event is InputEventKey and event.keycode == KEY_ESCAPE:
- close.emit()
- hide()
-
-func _on_exit_pressed() -> void:
- close.emit()
- hide()