コード例 #1
0
 public ApplyResourceCommand(ResourceToolBehavior behavior, SceneElement targetElement, ReferenceStep targetProperty, ResourceEntryItem resource)
 {
     this.behavior       = behavior;
     this.targetElement  = targetElement;
     this.resource       = resource;
     this.targetProperty = targetProperty;
 }
コード例 #2
0
 public CreateInstanceCommand(ResourceToolBehavior behavior, Point dropPoint, IType type, ResourceEntryItem resource)
 {
     this.behavior  = behavior;
     this.dropPoint = dropPoint;
     this.type      = type;
     this.resource  = resource;
 }