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

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