Beispiel #1
0
 public Weapon(ICraftedEquipment equipment)
 {
     this.equipmentType = equipment.EquipmentType;
     this.id            = equipment.Id;
     this.itemName      = equipment.ItemName;
     this.attackRating  = equipment.Rating;
     this.weight        = equipment.Weight;
     this.value         = equipment.Value;
 }
Beispiel #2
0
 public Armour(ICraftedEquipment equipment)
 {
     this.equipmentType = equipment.EquipmentType;
     this.id            = equipment.Id;
     this.itemName      = equipment.ItemName;
     this.defenseRating = equipment.Rating;
     this.weight        = equipment.Weight;
     this.value         = equipment.Value;
 }