Esempio n. 1
0
 public ConstructorGame(ConstructorBuilder builder) : base(builder.GetName(), builder.GetPrice(), builder.GetManufacturerName(), builder.GetAgeLimit())
 {
     durationOfBuildInHour = builder.GetDurationOfBuildInHour();
     countOfDetails        = builder.GetCountOfDetails();
     material = builder.GetMaterial();
     bsInfo   = builder.GetBsInfo();
 }
Esempio n. 2
0
 SoftToy(string name, double price, string manufacturerName, int ageLimit, EnMaterialSoftToy material,
         EnFillerSoftToy filler, BaseInfoAboutGood bsInfo) : base(name, price, manufacturerName, ageLimit)
 {
     this.material = material;
     this.filler   = filler;
     this.bsInfo   = bsInfo;
 }
Esempio n. 3
0
 ConstructorGame(string name, double price, string manufacturerName, int ageLimit, int durationOfBuildInHour,
                 int countOfDetails, EnMaterialConstructor material, BaseInfoAboutGood bsInfo) : base(name, price, manufacturerName, ageLimit)
 {
     this.durationOfBuildInHour = durationOfBuildInHour;
     this.countOfDetails        = countOfDetails;
     this.material = material;
     this.bsInfo   = bsInfo;
 }
Esempio n. 4
0
 public SoftToy(SoftToyBuilder builder) : base(builder.GetName(), builder.GetPrice(), builder.GetManufacturerName(), builder.GetAgeLimit())
 {
     material = builder.GetMaterial();
     filler   = builder.GetFiller();
     bsInfo   = builder.GetBsInfo();
 }
Esempio n. 5
0
 public SoftToyBuilder SetBsInfo(BaseInfoAboutGood bsInfo)
 {
     this.bsInfo = bsInfo; return(this);
 }
Esempio n. 6
0
 public ConstructorBuilder SetBsInfo(BaseInfoAboutGood bsInfo)
 {
     this.bsInfo = bsInfo; return(this);
 }