protected void RotateAnticlockwiseThroughFront(RubixCubeTopOrBottomFace newFace) { newFace.BackLeftCube = BackTopCube; newFace.BackCube = BackCube; newFace.BackRightCube = BackBottomCube; newFace.LeftCube = TopCube; newFace.CenterCube = CenterCube; newFace.RightCube = BottomCube; newFace.FrontLeftCube = FrontTopCube; newFace.FrontCube = FrontCube; newFace.FrontRightCube = FrontBottomCube; }
protected void Clone(RubixCubeTopOrBottomFace newFace) { newFace.BackLeftCube = BackLeftCube; newFace.BackCube = BackCube; newFace.BackRightCube = BackRightCube; newFace.LeftCube = LeftCube; newFace.CenterCube = CenterCube; newFace.RightCube = RightCube; newFace.FrontLeftCube = FrontLeftCube; newFace.FrontCube = FrontCube; newFace.FrontRightCube = FrontRightCube; }
protected void RotateAntiClockwiseThroughCenterCube(RubixCubeTopOrBottomFace newFace) { newFace.BackLeftCube = BackRightCube; newFace.BackCube = RightCube; newFace.BackRightCube = FrontRightCube; newFace.LeftCube = BackCube; newFace.CenterCube = CenterCube; newFace.RightCube = FrontCube; newFace.FrontLeftCube = BackLeftCube; newFace.FrontCube = LeftCube; newFace.FrontRightCube = FrontLeftCube; }
protected void RotateClockwiseThroughLeft(RubixCubeTopOrBottomFace newFace) { newFace.BackLeftCube = BottomLeftCube; newFace.BackCube = BottomCube; newFace.BackRightCube = BottomRightCube; newFace.LeftCube = LeftCube; newFace.CenterCube = CenterCube; newFace.RightCube = RightCube; newFace.FrontLeftCube = TopLeftCube; newFace.FrontCube = TopCube; newFace.FrontRightCube = TopRightCube; }