Esempio n. 1
0
 public ItemMaterial(ItemMaterialBuilder builder)
 {
     this.ID                     = builder.getId();
     this.QUALITY                = builder.getQuality();
     this.MASS                   = builder.getMass();
     this.VALUE                  = builder.getItemValue();
     this.CONSUMABILITY          = builder.getConsumability();
     this.NAME                   = builder.getName();
     this.DESCRIPTOIN            = builder.getDescription();
     this.FLAVOR_TEXT            = builder.getFlavorText();
     this.LEVEL                  = builder.getLevel();
     this.HEAVINESS              = builder.getHeaviness();
     this.ADDITIONAL_DESCRIPTION = builder.getAdditionalDescription();
     this.ADDITIONAL_FLAVOR      = builder.getAdditionalFlavor();
     this.ITEM_ATTRIBUTE         = builder.getItemAttribute();
 }