public XCommand() { aColor = new ActionColor(this); aWidth = new ActionWidth(this); aType = new ActionType(this); aSave = new ActionSave(this); aLoad = new ActionLoad(this); }
public XCommand(CanvasVector canvas) { this.canvasVector = canvas; aColor = new ActionColor(canvas); aWidth = new ActionWidth(canvas); aType = new ActionType(canvas); aSave = new ActionSave(canvas); aLoad = new ActionLoad(canvas); }