Esempio n. 1
0
        public void RotateLeftFaceToFrontFace()
        {
            RubixCubeFrontFace  newFrontFace  = LeftFace.MoveToFront();
            RubixCubeTopFace    newTopFace    = TopFace.RotateAnticlockwise();
            RubixCubeLeftFace   newLeftFace   = BackFace.MoveToLeft();
            RubixCubeRightFace  newRightFace  = FrontFace.MoveToRight();
            RubixCubeBottomFace newBottomFace = BottomFace.RotateAnticlockwise();
            RubixCubeBackFace   newBackFace   = RightFace.MoveToBack();

            FrontFace  = newFrontFace;
            TopFace    = newTopFace;
            LeftFace   = newLeftFace;
            RightFace  = newRightFace;
            BottomFace = newBottomFace;
            BackFace   = newBackFace;
            Validate();
        }
Esempio n. 2
0
 public void RotateTopFaceAnticlockwise()
 {
     RotateTopFace(TopFace.RotateAnticlockwise());
 }