public Ship(string crewTier, int lastMaintenance, string weather, IInsuranceCalculator pc) { this.crewTier = crewTier; this.lastMaintenance = lastMaintenance; this.weather = weather; this.pc = pc; }
public FlightStrategy(string pilotClass, int lastMaintenance, string weather, IInsuranceCalculator pc) { this.pilotClass = pilotClass; this.lastMaintenance = lastMaintenance; this.weather = weather; this.pc = pc; }
public FlightStrategy(string pilotClass, int lastMaintenance, string weather, IInsuranceCalculator pc, int distance, string landingLocation, ITripCost tc) : this(pilotClass, lastMaintenance, weather, pc) { this.distance = distance; this.landingLocation = landingLocation; this.tc = tc; }