Example #1
0
        public override void Redo()
        {
            bundle.Move(delta);
            //invalidate the space before the move
            Rectangle rec = bundle.Rectangle;

            rec.Offset(-delta.X, -delta.Y);
            rec.Inflate(20, 20);
            bundle.Invalidate(rec);//same as an invalidate on the controller level
            //invalidate the current neighborhood of the bundle
            bundle.Invalidate();
        }