Example #1
0
        public bool IsPlacementCellsFree(int count)
        {
            List <short> fighterCells = Fighters.ConvertAll <short>(x => (short)x.CellId);

            return(PlacementCells.Count(x => !fighterCells.Contains(x)) >= count);
        }
Example #2
0
 public bool IsFull() => Fight.State == FightState.Placement && (m_fighters.Count > PlacementCells.Count() || m_fighters.Count >= 8);