diff options
Diffstat (limited to 'randomizer/settings_buttons.gd')
-rw-r--r-- | randomizer/settings_buttons.gd | 16 |
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 @@ | |||
1 | extends Button | ||
2 | |||
3 | |||
4 | func _ready(): | ||
5 | pass | ||
6 | |||
7 | |||
8 | func _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 | |||
15 | func _back_pressed(): | ||
16 | fader._fade_start("main_menu") | ||