summaryrefslogtreecommitdiff
path: root/src/ui/main_menu/scripts
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-06-05 14:09:41 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-06-05 14:09:41 -0600
commit14538d486de312af41ce012836861468b8fb7897 (patch)
tree569d09c43fd7724a5fbb0898f5c1d1db3fd64b3d /src/ui/main_menu/scripts
parent4b42a8ba26f21e2c6c766fa747c8b93a115a53b2 (diff)
finish all necessary for playability
Diffstat (limited to 'src/ui/main_menu/scripts')
-rw-r--r--src/ui/main_menu/scripts/main_menu.gd7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ui/main_menu/scripts/main_menu.gd b/src/ui/main_menu/scripts/main_menu.gd
index 7077b68..2d955dc 100644
--- a/src/ui/main_menu/scripts/main_menu.gd
+++ b/src/ui/main_menu/scripts/main_menu.gd
@@ -1,11 +1,9 @@
extends MarginContainer
export(NodePath) var START_OPTION_NP: NodePath
-export(NodePath) var SETTINGS_OPTION_NP: NodePath
export(NodePath) var EXIT_OPTION_NP: NodePath
onready var start_option: MenuOption = get_node(START_OPTION_NP)
-onready var settings_option: MenuOption = get_node(SETTINGS_OPTION_NP)
onready var exit_option: MenuOption = get_node(EXIT_OPTION_NP)
onready var main: Node2D = get_parent().get_parent()
@@ -13,7 +11,6 @@ onready var main: Node2D = get_parent().get_parent()
enum Option {
START,
- SETTINGS,
EXIT
}
@@ -24,7 +21,6 @@ enum {
onready var options: Dictionary = {
Option.START: start_option,
- Option.SETTINGS: settings_option,
Option.EXIT: exit_option
}
@@ -34,7 +30,6 @@ var current_selection: int = Option.START
func _ready():
Event.connect("game_start", self, "_on_game_start")
start_option.type = Option.START
- settings_option.type = Option.SETTINGS
exit_option.type = Option.EXIT
@@ -49,8 +44,6 @@ func _input(event: InputEvent) -> void:
match current_selection:
Option.START:
Event.emit_signal("game_start")
- Option.SETTINGS:
- print("Option TEST.")
Option.EXIT:
get_tree().quit()