aboutsummaryrefslogtreecommitdiff
path: root/game/src/OptionMenu/OptionsMenu.gd
diff options
context:
space:
mode:
author ClarkeCode <33846391+ClarkeCode@users.noreply.github.com>2023-03-04 19:46:42 +0100
committer GitHub <noreply@github.com>2023-03-04 19:46:42 +0100
commit028247a24866726b79c56cb2f266738a8a9abc70 (patch)
tree0807714d81b61002b4613dfa0c10aa7b1209eac6 /game/src/OptionMenu/OptionsMenu.gd
parent2f4842769b0856bc08a256907b64046fb55381ac (diff)
parent3e088a2642d2d05eed011b2dd1bdee566225719f (diff)
Merge pull request #55 from Hop311/req-comments
Comments marking implemented requirements
Diffstat (limited to 'game/src/OptionMenu/OptionsMenu.gd')
-rw-r--r--game/src/OptionMenu/OptionsMenu.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/game/src/OptionMenu/OptionsMenu.gd b/game/src/OptionMenu/OptionsMenu.gd
index c25c3b8..e7ad7f6 100644
--- a/game/src/OptionMenu/OptionsMenu.gd
+++ b/game/src/OptionMenu/OptionsMenu.gd
@@ -1,5 +1,8 @@
extends Control
+# REQUIREMENTS
+# * SS-13
+
signal back_button_pressed
func _ready():
@@ -13,11 +16,17 @@ func _ready():
button_list.alignment = BoxContainer.ALIGNMENT_END
tab_bar.add_child(button_list)
+ # REQUIREMENTS
+ # * UI-12
+ # * UIFUN-14
var reset_button := Button.new()
reset_button.text = "R"
reset_button.pressed.connect(Events.Options.try_reset_settings)
button_list.add_child(reset_button)
+ # REQUIREMENTS
+ # * UI-11
+ # * UIFUN-17
var back_button := Button.new()
back_button.text = "X"
back_button.pressed.connect(_on_back_button_pressed)