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; }
public void PressStopButton() { Command cmd = new StopTrack(player); cmd.execute(); }