diff options
author | Hop311 <hop3114@gmail.com> | 2023-03-04 19:06:05 +0100 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-03-04 19:06:05 +0100 |
commit | 3e088a2642d2d05eed011b2dd1bdee566225719f (patch) | |
tree | 4b80e3cbc20413f9b1ea57fed5a6f7a847328a29 /game/src/Autoload/Events/Options.gd | |
parent | 3a46095b678d75292090802280ce9dbd3f2d24dc (diff) |
Comments marking implemeneted requirements
Diffstat (limited to 'game/src/Autoload/Events/Options.gd')
-rw-r--r-- | game/src/Autoload/Events/Options.gd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/game/src/Autoload/Events/Options.gd b/game/src/Autoload/Events/Options.gd index 8af620d..6b9e089 100644 --- a/game/src/Autoload/Events/Options.gd +++ b/game/src/Autoload/Events/Options.gd @@ -7,6 +7,8 @@ signal reset_settings() func load_settings_from_file() -> void: load_settings.emit(_settings_file) +# REQUIREMENTS +# * SS-11 func save_settings_to_file() -> void: save_settings.emit(_settings_file) _settings_file.save(_settings_file_path) @@ -20,6 +22,9 @@ const settings_file_path_default : String = "user://settings.cfg" var _settings_file_path : String = ProjectSettings.get_setting(settings_file_path_setting, settings_file_path_default) var _settings_file := ConfigFile.new() +# REQUIREMENTS +# * SS-9 +# * UIFUN-7 func _init(): if FileAccess.file_exists(_settings_file_path): _settings_file.load(_settings_file_path) |