Example #1
0
 private void ProcessHit(DamageDealer damageDealer)
 {
     enemyHealth -= damageDealer.GetPlayerDamage();
     if (enemyHealth <= 0)
     {
         Die();
     }
 }