Britbot
int Britbot.Group.FightCount ( ) [inline]

counts how many fighters does an enemy group has, not including ones capturing islands

Returns:
how many fighters does an enemy group has, not including ones capturing islands

Definition at line 213 of file Group.cs.

        {
            int count = 0;
            foreach (int pirate in this.Pirates)
            {
                if (!Bot.Game.isCapturing(Bot.Game.GetMyPirate(pirate)))
                    count++;
            }
            return count;
        }