예제 #1
0
 public Car(Chassis chassis, Engine engine, Transmission transmission, string brand) : base(chassis, engine, transmission)
 {
     Brand = brand;
 }
예제 #2
0
 public Scooter(Chassis chassis, Engine engine, Transmission transmission, float price) : base(chassis, engine, transmission)
 {
     Price = price;
 }
예제 #3
0
 public Bus(Chassis chassis, Engine engine, Transmission transmission, int slotsAmount) : base(chassis, engine, transmission)
 {
     SlotsAmount = slotsAmount;
 }