aboutsummaryrefslogtreecommitdiff
path: root/game/src/OptionMenu/OptionsMenu.gd
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-03-04 19:06:05 +0100
committer Hop311 <hop3114@gmail.com>2023-03-04 19:06:05 +0100
commit3e088a2642d2d05eed011b2dd1bdee566225719f (patch)
tree4b80e3cbc20413f9b1ea57fed5a6f7a847328a29 /game/src/OptionMenu/OptionsMenu.gd
parent3a46095b678d75292090802280ce9dbd3f2d24dc (diff)
Comments marking implemeneted 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)