public void ConstructCar() { _carBuilder.CreateNewCar(); _carBuilder.BuildDoors(); _carBuilder.BuildRows(); _carBuilder.BuildSeats(); }
static void Main(string[] args) { CarBuilder carBuilder = new CarBuilder(new BMW520Car()); carBuilder.BuildFrame(); carBuilder.BuildEngine(); carBuilder.BuildDoors(); carBuilder.BuildWheels(); carBuilder.Show(); }