12345678910111213141516171819202122232425262728 |
- class_name UI
- extends Control
- onready var game_over_panel = $GameOverPanel
- onready var tutorial_panel = $TutorialPanel
- func hide_tutorial() -> void:
- if tutorial_panel:
- tutorial_panel.queue_free()
- tutorial_panel = null
- func show_end_of_game() -> void:
- game_over_panel.show()
- func _on_Catcher_game_over() -> void:
- show_end_of_game()
- func _on_DeadLine_game_lost() -> void:
- show_end_of_game()
- func _on_Launcher_get_firing() -> void:
- hide_tutorial()
|