Exemplo n.º 1
0
 public StopDrawing(int shapeId, Surface onTouchScreen, Point lastPoint)
 {
     LastPointToAdd    = lastPoint;
     BeingDrawnShapeId = shapeId;
     BeingDrawnShape   = new FindBeingDrawnShape(BeingDrawnShapeId, onTouchScreen).Find();
     TouchRecorder     = new StopTrack(BeingDrawnShape, LastPointToAdd);
     ShapeTracker      = onTouchScreen.Controller;
 }
Exemplo n.º 2
0
        public void PressStopButton()
        {
            Command cmd = new StopTrack(player);

            cmd.execute();
        }