Added enemies

This commit is contained in:
2026-01-07 22:00:05 +03:00
parent 33cbfeebb9
commit 85f808b733
28 changed files with 729 additions and 26 deletions
+22
View File
@@ -0,0 +1,22 @@
class_name GameOverMenu
extends Control
@onready var main_menu_button : Button = $%MainMenuButton
@onready var focus_timer : Timer = $FocusTimer
func _on_main_menu_button_pressed() -> void:
get_tree().paused = false
get_tree().change_scene_to_file("res://game/menu/main_menu.tscn")
func _on_visibility_changed() -> void:
if visible:
if focus_timer != null:
focus_timer.start()
func _on_focus_timer_timeout() -> void:
if main_menu_button != null:
main_menu_button.grab_focus()