diff options
author | Hop311 <Hop3114@gmail.com> | 2024-05-12 17:17:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-12 17:17:32 +0200 |
commit | bfccdb87d66304604ad018037db1581746646bfa (patch) | |
tree | ac4394e8ceaca22fa0deaeebd8cf5eafedecaa3e /game/src/Game/GameSession/GameSession.gd | |
parent | b0a533f945bbc6201fd7df4bc60746cb98efaba4 (diff) | |
parent | ac29e4040fc20c50c8f0eb64b1194f6398165eb0 (diff) |
Merge pull request #227 from OpenVicProject/models
Models
Diffstat (limited to 'game/src/Game/GameSession/GameSession.gd')
-rw-r--r-- | game/src/Game/GameSession/GameSession.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/game/src/Game/GameSession/GameSession.gd b/game/src/Game/GameSession/GameSession.gd index f085073..843ecd8 100644 --- a/game/src/Game/GameSession/GameSession.gd +++ b/game/src/Game/GameSession/GameSession.gd @@ -1,5 +1,6 @@ extends Control +@export var _model_manager : ModelManager @export var _game_session_menu : Control func _ready() -> void: @@ -7,6 +8,9 @@ func _ready() -> void: if GameSingleton.setup_game(0) != OK: push_error("Failed to setup game") + _model_manager.generate_units() + _model_manager.generate_buildings() + func _process(_delta : float) -> void: GameSingleton.try_tick() |