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(); }
public void RotateTopFaceAnticlockwise() { RotateTopFace(TopFace.RotateAnticlockwise()); }