blob: 0158b3aff104eb2d364606b9e4dc9d8134e0968d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
extends Control
@export var _model_manager : ModelManager
@export var _game_session_menu : Control
func _ready() -> void:
Events.Options.load_settings_from_file()
if GameSingleton.start_game_session() != OK:
push_error("Failed to setup game")
_model_manager.generate_units()
_model_manager.generate_buildings()
func _process(_delta : float) -> void:
GameSingleton.try_tick()
# REQUIREMENTS:
# * SS-42
func _on_game_session_menu_button_pressed() -> void:
_game_session_menu.visible = !_game_session_menu.visible
|