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