internal RubixCubeLeftFace MoveToLeft()
        {
            RubixCubeLeftFace newFace = new RubixCubeLeftFace();

            RotateClockwiseThroughFront(newFace);
            return(newFace);
        }
        internal RubixCubeLeftFace RotateAnticlockwise()
        {
            RubixCubeLeftFace newFace = new RubixCubeLeftFace();

            RotateAntiClockwiseThroughCenterCube(newFace);
            return(newFace);
        }
        internal RubixCubeLeftFace Clone()
        {
            RubixCubeLeftFace newFace = new RubixCubeLeftFace();

            Clone(newFace);
            return(newFace);
        }
Beispiel #4
0
        internal RubixCubeLeftFace MoveToLeft()
        {
            RubixCubeLeftFace newFace = new RubixCubeLeftFace();

            RotateAnticlockwiseThroughTop(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();
 }