public MouseMoveCommand() { f = null; dx = 0; dy = 0; }
public CreateFigureCommand() { factory = new MyFigureFactory(); f = null; }
override public void execute() { f = factory.createFigure(code, x, y); storage.setFigure(f); }
virtual public void execute(Figure p, int MAX_w, int MAX_h) { }