public override float Score(IAIContext context, CoverPoint option) { if (!IsPathDistanceBetweenHideoutAndLKPValid.Evaluate(context as CoverContext, option)) { return(0f); } return(1f); }
public virtual float Score(IAIContext context, CoverPoint option) { return(!IsPathDistanceBetweenHideoutAndLKPValid.Evaluate(context as CoverContext, option) ? 0.0f : 1f); }