Britbot
static void Britbot.Commander.AllocateRevived ( ) [inline, static, private]

Re-allocated revived pirates.

Definition at line 250 of file Commander.cs.

        {
            List<int> alive = Bot.Game.AllMyPirates().Where(p => !p.IsLost).ToList().ConvertAll(p => p.Id);
            List<int> revived = alive.Intersect(_deadPirates).ToList();

            foreach (int pid in revived)
                Groups.Add(new Group(new[] {pid}));
        }