Example #1
0
 public SquareOneState(SquareOnePuzzle p) : base(p)
 {
     _puzzle      = p;
     _sliceSolved = true;
     _pieces      = new[] { 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 9, 9, 10, 11, 11, 12, 13, 13, 14, 15, 15 };
     //piece array
 }
Example #2
0
 public SquareOneState(bool sliceSolved, int[] pieces, SquareOnePuzzle p) : base(p)
 {
     _puzzle      = p;
     _sliceSolved = sliceSolved;
     _pieces      = pieces;
 }