Пример #1
0
 public void SetFieldState(int row, int col, CubiconCellState state)
 {
     field[row, col].State = state;
 }
Пример #2
0
 private bool CheckNeighbor(int row, int col, CubiconCellState state)
 {
     return(CurrentLevel.IsCellIndexesCorrect(row, col) &&
            IsCellMovable(CurrentLevel[row, col]) &&
            CurrentLevel[row, col].State == state);
 }