Example #1
0
 public BMW(AbstractEngine.AbstractEngine Engine, AbstractWheels.AbstractWheels Wheels, AbstractBody.AbstractBody Body)
 {
     this.Engine = Engine;
     this.Wheels = Wheels;
     this.Body   = Body;
 }
Example #2
0
 public override AbstractCar.AbstractCar CreateCar(AbstractBody.AbstractBody body, AbstractEngine.AbstractEngine engine, AbstractWheels.AbstractWheels wheels)
 {
     return(new Audi(engine, wheels, body));
 }
 public abstract AbstractCar.AbstractCar CreateCar(AbstractBody.AbstractBody body, AbstractEngine.AbstractEngine engine, AbstractWheels.AbstractWheels wheels);