add game_menu and scene_manager

This commit is contained in:
2026-05-15 23:36:10 +02:00
parent 0e56a84a95
commit f6266cb69e
19 changed files with 253 additions and 26 deletions

View File

@@ -4,26 +4,6 @@ extends Control
@onready var resume_button: Control = $%ResumeButton
func _ready() -> void:
GameState.on_game_paused.connect(_on_game_paused)
GameState.on_game_resumed.connect(_on_game_resumed)
resume_button.hide()
func _on_game_paused() -> void:
play_button.hide()
resume_button.show()
func _on_game_resumed() -> void:
play_button.show()
resume_button.hide()
func _on_play_button_on_button_pressed() -> void:
pass # Replace with function body.
func _on_resume_button_on_button_pressed() -> void:
GameState.resume_game()