示例#1
0
        public override Car Construct()
        {
            CarBuilder.BuildFrame();
            CarBuilder.BuildEngine();
            CarBuilder.BuildWheels();
            CarBuilder.BuildSafety();
            CarBuilder.BuildAudio();
            CarBuilder.BuildLuxury();

            return(CarBuilder.GetCar());
        }
示例#2
0
        //дорогие автомобили
        public override Car Construct()
        {
            //делаем всё
            CarBuilder.BuildFrames();
            CarBuilder.BuildEngine();
            CarBuilder.BuildWheels();
            CarBuilder.BuildSafety();
            CarBuilder.BuildMultimedia();
            CarBuilder.BuildLuxury();

            return(CarBuilder.GetCar());
        }