예제 #1
0
        /// <summary>
        /// Begins construction of a new vehicle.
        /// </summary>
        /// <param name="builder">A <see cref="IVehicleBuilder"/>.</param>
        public static void BuildCar(IVehicleBuilder builder)
        {
            builder.InitializeVehicle();

            builder.BuildEngine();
            builder.BuildExhaust();
            builder.BuildInterior();
            builder.BuildSuspension();
        }