コード例 #1
0
 protected override bool GetBranch(AiContext context)
 {
     Unit.ArrivingTargets = context.GetAdjacentUnits(Unit.Coord)
                            .Where(u => !u.IsAllyWith(Unit.Player));
     return(Unit.ArrivingTargets.Any());
 }