summary refs log tree commit diff stats
path: root/randomizer/settings_buttons.gd
diff options
context:
space:
mode:
Diffstat (limited to 'randomizer/settings_buttons.gd')
-rw-r--r--randomizer/settings_buttons.gd16
1 files changed, 16 insertions, 0 deletions
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 @@
1extends Button
2
3
4func _ready():
5 pass
6
7
8func _start_pressed():
9 self.disabled = true
10
11 var randomizer = global.get_node("Randomizer")
12 randomizer.start(self.get_parent().get_node("seed_box").text)
13
14
15func _back_pressed():
16 fader._fade_start("main_menu")