internal RubixCubeTopFace MoveToTop() { RubixCubeTopFace newFace = new RubixCubeTopFace(); RotateAnticlockwiseThroughFront(newFace); return(newFace); }
internal RubixCubeTopFace Clone() { RubixCubeTopFace newFace = new RubixCubeTopFace(); Clone(newFace); return(newFace); }
internal RubixCubeTopFace RotateAnticlockwise() { RubixCubeTopFace newFace = new RubixCubeTopFace(); RotateAntiClockwiseThroughCenterCube(newFace); return(newFace); }
internal RubixCubeTopFace MoveToTop() { RubixCubeTopFace newFace = new RubixCubeTopFace(); RotateClockwiseThroughLeft(newFace); return(newFace); }
public RubixCubeLeftFaceRotation(RubixCube cube, RubixCubeLeftFace newLeftFace) { this.newLeftFace = newLeftFace; oldFrontFace = cube.FrontFace; newFrontFace = oldFrontFace.Clone(); oldTopFace = cube.TopFace; newTopFace = oldTopFace.Clone(); oldBottomFace = cube.BottomFace; newBottomFace = oldBottomFace.Clone(); oldBackFace = cube.BackFace; newBackFace = oldBackFace.Clone(); UpdateFaces(); RemoveOldCubes(); AddNewCubes(); }