aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameMenu.gd
blob: c6174bbe8c58bd9cf2939064badab3dd8b7d3233 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extends Control

func _ready():
   Events.Options.load_settings_from_file()

func _on_main_menu_options_button_pressed():
   $OptionsMenu.toggle_locale_button_visibility(false)
   $OptionsMenu.show()
   $MainMenu.hide()


func _on_options_menu_back_button_pressed():
   $MainMenu.show()
   $OptionsMenu.hide()
   $OptionsMenu.toggle_locale_button_visibility(true)