예제 #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);
        }
예제 #2
0
파일: FightTeam.cs 프로젝트: Mixi59/Stump
 public bool IsFull() => Fight.State == FightState.Placement && (m_fighters.Count > PlacementCells.Count() || m_fighters.Count >= 8);