예제 #1
0
 public XCommand()
 {
     aColor = new ActionColor(this);
     aWidth = new ActionWidth(this);
     aType  = new ActionType(this);
     aSave  = new ActionSave(this);
     aLoad  = new ActionLoad(this);
 }
예제 #2
0
 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);
 }