public Brand(string name, Strength strength, HeatTolerance heatTolerance, float smokingTime, float price) { this.name = name; this.strength = strength; this.heatTolerance = heatTolerance; this.smokingTime = smokingTime; this.price = price; }
public Tobacco(string brandName, Strength brandStrength, HeatTolerance brandHeatTolerance, float brandSmokingTime, float brandPrice, Flavour flavour) { this.brand = new Brand(brandName, brandStrength, brandHeatTolerance, brandSmokingTime, brandPrice); this.flavour = flavour; }