feat: game loop
This commit is contained in:
parent
7d05df6e39
commit
d47c2e513b
12 changed files with 97 additions and 37 deletions
|
|
@ -32,6 +32,7 @@ var transition_history: Array[PhaseTransition] = []
|
|||
func _on_match_manager_state_transitioned(transition: PhaseTransition):
|
||||
start_game_btn.visible = match_manager.phase == Match.Phase.PREGAME
|
||||
transition_history.append(transition)
|
||||
print("Phase: ", Match.phase_to_str(transition.from), " -> ", Match.phase_to_str(transition.to))
|
||||
|
||||
func _on_start_game_button_button_up() -> void:
|
||||
match_manager.resolve({})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue