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