From f0555579cd462b27c71c486bd7456265cc827937 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 9 Dec 2023 13:14:25 -0500 Subject: Starting to work --- randomizer/settings_buttons.gd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 randomizer/settings_buttons.gd (limited to 'randomizer/settings_buttons.gd') diff --git a/randomizer/settings_buttons.gd b/randomizer/settings_buttons.gd new file mode 100644 index 0000000..4e656b0 --- /dev/null +++ b/randomizer/settings_buttons.gd @@ -0,0 +1,16 @@ +extends Button + + +func _ready(): + pass + + +func _start_pressed(): + self.disabled = true + + var randomizer = global.get_node("Randomizer") + randomizer.start(self.get_parent().get_node("seed_box").text) + + +func _back_pressed(): + fader._fade_start("main_menu") -- cgit 1.4.1