Пример #1
0
 internal void HpChanged()
 {
     OnHpChanged?.Invoke(this);
     Debug.WriteLine($"{Name} hp changed to {Level.Hp}");
     if (Level.Hp <= 0)
     {
         DropManager.DropAndSpawn(LastHitCharacter);
         Destroy();
     }
 }