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

@export var _game_session_menu : Control

func _ready():
   GameSingleton.quazz_map_convert("res://common/map/provinces.json", "res://common/map/provinces.csv")
   Events.Options.load_settings_from_file()
   if GameSingleton.setup_game() != OK:
      push_error("Failed to setup game")

func _process(_delta : float):
   GameSingleton.try_tick()

# REQUIREMENTS:
# * SS-42
func _on_game_session_menu_button_pressed() -> void:
   _game_session_menu.visible = !_game_session_menu.visible