public void CreateVehicle()
 {
     objBuilder.SetModel();
     objBuilder.SetEngine();
     objBuilder.SetBody();
     objBuilder.SetTransmission();
 }
Example #2
0
 public void CreateVehicle()
 {
     _vehicleBuilder.SetEngine();
     _vehicleBuilder.SetBody();
     _vehicleBuilder.SetTransmission();
     _vehicleBuilder.SetAccessories();
 }
Example #3
0
 public void CreateVehicle()
 {
     vehicleBuilder.SetVehicleType();
     vehicleBuilder.SetDoors();
     vehicleBuilder.SetEngine();
     vehicleBuilder.SetFrame();
     vehicleBuilder.SetWheels();
 }
 public void CreateVehicle()
 {
     _vehicleBuilder.SetMake();
     _vehicleBuilder.SetModel();
     _vehicleBuilder.SetEngine();
     _vehicleBuilder.SetTransmission();
     _vehicleBuilder.SetBody();
 }
Example #5
0
 public void AssembleVhicle()
 {
     _VehicleBuilder.SetBody();
     _VehicleBuilder.SetModel();
     _VehicleBuilder.SetEngine();
     _VehicleBuilder.SetTransmission();
     _VehicleBuilder.SetAccessories();
 }
Example #6
0
 public void CreateVehicle()
 {
     builder.SetModel();
     builder.SetEngine();
     builder.SetBody();
     builder.SetTransmission();
     builder.SetAccessories();
 }
Example #7
0
        public Vehicle CreateVehicle()
        {
            var vehicle = _vehicleBuilder.GetVehicle();

            _vehicleBuilder.SetEngine();
            _vehicleBuilder.SetTransmission();
            return(vehicle);
        }