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