コード例 #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.canvas = canvas;
     aColor      = new ActionColor(canvas);
     aWidth      = new ActionWidth(canvas);
     aType       = new ActionType(canvas);
     aSave       = new ActionSave(canvas);
     aLoad       = new ActionLoad(canvas);
 }