Audio manager implementation

This commit is contained in:
2026-03-11 10:07:47 -04:00
parent e11eddf1b4
commit ed4359686c
23 changed files with 61 additions and 7 deletions
+1
View File
@@ -86,6 +86,7 @@ func get_slow_factor() -> float:
func take_damage(amount: float) -> void:
current_health -= amount
_flash_timer = 0.1
AudioManager.play("enemy_hit")
if current_health <= 0.0:
_die()