public Passengerable(Vehicle vehicle, int maxPassengersCount, double price) : base(vehicle) { this.passengersCount = 0; this.maxPassengersCount = maxPassengersCount; this.flightPrice = price; this.Passengers = new List<string>(); }
public SportVehicle(Vehicle vehicle) : base(vehicle) { this.SportModeOn = true; }
public VehicleDecorator(Vehicle vehicle) : base(vehicle.Seats, vehicle.Consumption) { this.Vehicle = vehicle; }