示例#1
0
 public ItemWithIcon(ItemWithIcon item)
 {
     this.assetHandler = item.assetHandler;
     this.ItemBitmap   = item.ItemBitmap;
     this.IsUsable     = item.IsUsable;
     this.IsEquipable  = item.IsEquipable;
     this.Name         = item.Name;
 }
示例#2
0
 public Weapon(ItemWithIcon item, double attackModifier, double scoreModifier) : base(item)
 {
     this.attackModifier = attackModifier;
     this.scoreModifier  = scoreModifier;
 }
示例#3
0
 public Armor(ItemWithIcon item, double defenseModifier) : base(item)
 {
     this.defenseModifier = defenseModifier;
 }