Beispiel #1
0
 public CVehicle(GPS gps, double price, int yearProduction)
 {
     GPS            = gps;
     Price          = price;
     YearProduction = yearProduction;
 }
Beispiel #2
0
 public CPlane(GPS gps, double price, int yearProduction, string height, int countPassenger) : base(gps, price, yearProduction)
 {
     Height         = height;
     CountPassenger = countPassenger;
 }
Beispiel #3
0
 public CCar(GPS gps, double price, int yearProduction) : base(gps, price, yearProduction)
 {
 }
Beispiel #4
0
 public CShip(GPS gps, double price, int yearProduction, int countPassenger, string homePort) : base(gps, price, yearProduction)
 {
     CountPassenger = countPassenger;
     HomePort       = homePort;
 }