/** Trying to make an ascii art of the pyraminx stickers position... * * U * ____ ____ ____ ____ ____ ____ * \ /\ /\ / /\ \ /\ /\ / * \0 /1 \2 /4 \3 / /0 \ \0 /1 \2 /4 \3 / * \/____\/____\/ /____\ \/____\/____\/ * \ /\ / /\ /\ \ /\ / * face 2 \8 /7 \5 / /8 \1 /2 \ \8 /7 \5 / face 3 * \/____\/ /____\/____\ \/____\/ * \ / /\ /\ /\ \ / * \6 / /6 \7 /5 \4 /3 \ \6 / * \/ /____\/____\/____\ \/ * face 0 * L ____ ____ ____ R * \ /\ /\ / * \0 /1 \2 /4 \3 / * \/____\/____\/ * \ /\ / * \8 /7 \5 / * face 1 \/____\/ * \ / * \6 / * \/ * * B */ public PyraminxState(PyraminxPuzzle p) : base(p) { _puzzle = p; _image = ArrayExtension.New <int>(4, 9); for (var i = 0; i < _image.Length; i++) { for (var j = 0; j < _image[0].Length; j++) { _image[i][j] = i; } } }
public PyraminxState(int[][] image, PyraminxPuzzle p) : base(p) { _puzzle = p; _image = image; }