public override float GetScore(BaseContext c)
        {
            object obj;

            if (GetHumanPathToTargetStatus.Evaluate(c as NPCHumanContext, this.Status))
            {
                obj = 1;
            }
            else
            {
                obj = null;
            }
            return((float)obj);
        }
예제 #2
0
 public override float GetScore(BaseContext c)
 {
     return(GetHumanPathToTargetStatus.Evaluate(c as NPCHumanContext, this.Status) ? 1f : 0.0f);
 }