Пример #1
0
        public virtual void RotateCounterClockwise(CubeFace face)
        {
            if (face == null)
            {
                throw new ArgumentNullException(nameof(face));
            }

            MapRotation(face.RotateCounterClockwise);
        }
Пример #2
0
 protected Cube(CubeFace front, CubeFace back, CubeFace left, CubeFace right, CubeFace top, CubeFace bottom)
 {
     FrontFace  = front;
     BackFace   = back;
     LeftFace   = left;
     RightFace  = right;
     TopFace    = top;
     BottomFace = bottom;
 }