private void Attack(Sheep attackedSheep) { if (!attackedSheep.isDead) { animator.SetTrigger(ATTACK); attackedSheep.Attack(); playerHealth.Heal(HEAL_AMOUNT); attackedSheep.isDead = true; } }