예제 #1
0
 public Board(int size, BinairoRowChecker checker)
 {
     this.Size    = size;
     this.rows    = new ushort[size];
     this.mask    = new ushort[size];
     this.checker = checker;
 }
 public BinairoBoardChecker(BinairoRowChecker rowChecker, MatrixFlipper flipper, int size)
 {
     this.rowChecker  = rowChecker;
     this.flipper     = flipper;
     this.size        = size;
     this.columns     = new ushort[size];
     this.columnMasks = new ushort[size];
 }