예제 #1
0
 static bool CanBeWhite(Cell c) => !c.IsBlack;
예제 #2
0
 static bool CanBeBlack(Cell c) => !c.IsWhite;
예제 #3
0
 public CellGroup(Cell cell1, Cell cell2, Cell cell3, Cell cell4, Cell cell5, Cell cell6, Cell cell7, Cell cell8, Cell cell9)
 {
     _cells[0] = cell1;
     _cells[1] = cell2;
     _cells[2] = cell3;
     _cells[3] = cell4;
     _cells[4] = cell5;
     _cells[5] = cell6;
     _cells[6] = cell7;
     _cells[7] = cell8;
     _cells[8] = cell9;
 }