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; }
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; }