예제 #1
0
        public void CreateCompleteCar()
        {
            Console.WriteLine("******** Creating a Car **********\n");
            model.SetModel();
            engine.SetEngine();
            accessories.SetAccessories();

            Console.WriteLine("\n******** Car creation complete **********");
        }
예제 #2
0
        public void CreateCar()
        {
            Console.WriteLine("Creating a car");

            model.SetModel();
            engine.SetEngine();
            body.SetBody();
            accesssories.SetAccesssories();

            Console.WriteLine("Car created");
        }