internal RubixCubeFrontFace MoveToFront() { RubixCubeFrontFace newFace = new RubixCubeFrontFace(); RotateClockwiseThroughLeft(newFace); return(newFace); }
internal RubixCubeFrontFace Clone() { RubixCubeFrontFace newFace = new RubixCubeFrontFace(); Clone(newFace); return(newFace); }
internal RubixCubeFrontFace MoveToFront() { RubixCubeFrontFace newFace = new RubixCubeFrontFace(); RotateAnticlockwiseThroughTop(newFace); return(newFace); }
internal RubixCubeFrontFace RotateAnticlockwise() { RubixCubeFrontFace newFace = new RubixCubeFrontFace(); RotateAntiClockwiseThroughCenterCube(newFace); return(newFace); }
public RubixCubeBottomFaceRotation(RubixCube cube, RubixCubeBottomFace newBottomFace) { this.newBottomFace = newBottomFace; oldFrontFace = cube.FrontFace; newFrontFace = oldFrontFace.Clone(); oldLeftFace = cube.LeftFace; newLeftFace = oldLeftFace.Clone(); oldRightFace = cube.RightFace; newRightFace = oldRightFace.Clone(); oldBackFace = cube.BackFace; newBackFace = oldBackFace.Clone(); UpdateFaces(); RemoveOldCubes(); AddNewCubes(); }