diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-09 13:14:25 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-12-09 13:14:25 -0500 |
commit | f0555579cd462b27c71c486bd7456265cc827937 (patch) | |
tree | 12dd8a500dd836f9466e534039fda46005547639 /randomizer/settings_buttons.gd | |
parent | e72b3e5fae63db0f669155b7b965c2c5fc6f97e3 (diff) | |
download | lingo-randomizer-f0555579cd462b27c71c486bd7456265cc827937.tar.gz lingo-randomizer-f0555579cd462b27c71c486bd7456265cc827937.tar.bz2 lingo-randomizer-f0555579cd462b27c71c486bd7456265cc827937.zip |
Starting to work
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") | ||