private void RemoveBodyPart() { // If all body parts are removed if (BodyParts.First == null) { DeathAnimationTrigger.Threshold = 0; IsAlive = false; } else { BodyParts.RemoveFirst(); } }
private void RemoveBodyPart() { // If all body parts are removed if (BodyParts.First == null) { DeathAnimationTrigger.Threshold = 0; IsAlive = false; } else { BodyParts.RemoveFirst(); } }