コード例 #1
0
 public MegaminxState(MegaminxPuzzle p) : base(p)
 {
     _puzzle = p;
     _image  = ArrayExtension.New <int>(12, 11);
     for (var i = 0; i < _image.Length; i++)
     {
         for (var j = 0; j < _image[0].Length; j++)
         {
             _image[i][j] = i;
         }
     }
     _normalizedState = this;
 }
コード例 #2
0
 public override bool IsNormalized()
 {
     return(MegaminxPuzzle.IsNormalized(_image));
 }
コード例 #3
0
 public MegaminxState(int[][] image, MegaminxPuzzle p) : base(p)
 {
     _puzzle = p;
     _image  = image;
 }