This commit is contained in:
Фёдор Веселов 2024-09-25 17:42:04 +05:00
commit 83ffb3189b
13 changed files with 106 additions and 3 deletions

View file

@ -0,0 +1,10 @@
using Godot;
using System;
public partial class AudioDamage : AudioStreamPlayer2D
{
public void OnHPChanged(int amount)
{
Play();
}
}

View file

@ -41,7 +41,6 @@ public partial class RuntimeZombieData : Node2D, IEntity
if (_hp <= 0)
{
QueueFree();
}
}
}