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