Example #1
0
 public override bool IsThreatTo(IControlable other)
 {
     for (int pos = 0; pos < actions.Count; ++pos)
     {
         IActionAIInfo actionAIInfo = actions[pos].AIInfo;
         if (actionAIInfo != null && actionAIInfo.IsThreatTo(other))
         {
             return(true);
         }
     }
     return(base.IsThreatTo(other));
 }