示例#1
0
 public Consumable(Item item)
 {
     this.SetID(item.GetID());
     this.SetName(item.GetName());
     this.SetDescription(item.GetDescription());
     this.SetPrice(item.GetPrice());
     this.ActuallySetSprite(item.GetSprite());
     ActuallySetSprite(new Image());
 }
示例#2
0
 public Equipable(Item item)
 {
     this.SetID(item.GetID());
     this.SetName(item.GetName());
     this.SetDescription(item.GetDescription());
     this.SetPrice(item.GetPrice());
     this.ActuallySetSprite(item.GetSprite());
     ActuallySetSprite(new Image());
     modifiers = new List <Modifiers>();
 }