Game over

This commit is contained in:
2024-10-26 13:59:50 +02:00
parent 2e2e0c4468
commit 67a40376e5
2 changed files with 36 additions and 0 deletions

View File

@ -13,3 +13,8 @@ func spawn_mob():
func _on_timer_timeout() -> void:
spawn_mob()
func _on_player_health_depleted() -> void:
%GameOver.visible = true
get_tree().paused = true