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

counts how many living pirates are in the group

Returns:
how many living pirates are in the group

Definition at line 792 of file Group.cs.

        {
            if(this.Pirates != null)
                return this.Pirates.ToList().ConvertAll(p => Bot.Game.GetMyPirate(p)).Count(p => !p.IsLost);
            return 0;
        }