Ejemplo n.º 1
0
        internal void RotateRight()
        {
            Facing = Facing.Right().Right();
            foreach (Part p in PartList)
            {
                p.RotateRight();
            }

            // Fix bounding box too
            Bounds = Rectangle.FromLTRB(-Bounds.Bottom + 1, Bounds.Left, -Bounds.Top + 1, Bounds.Right);
        }