Example #1
0
 public void Deactivate(Squad owner)
 {
 }
Example #2
0
 // Checks the number of anti air enemies around units
 protected virtual bool ShouldFlee(Squad owner)
 {
     return(base.ShouldFlee(owner, enemies => CountAntiAirUnits(enemies) * MissileUnitMultiplier > owner.Units.Count));
 }
Example #3
0
 public void Activate(Squad owner)
 {
 }
Example #4
0
        protected static bool NearToPosSafely(Squad owner, WPos loc)
        {
            Actor a;

            return(NearToPosSafely(owner, loc, out a));
        }