Exemple #1
0
 public FlightPlan(int pass, string company, FlightLocation ini, Segment[] seg)
 {
     this.Passengers       = pass;
     this.Company_name     = company;
     this.Initial_location = ini;
     this.Segments         = seg;
 }
 public FlightPlan(int passengersInput, string companyNameInput,
                   FlightLocation initialLocationInput, List <FlightSegment> segmentsInput)
 {
     Passengers      = passengersInput;
     CompanyName     = companyNameInput;
     InitialLocation = initialLocationInput;
     Segments        = segmentsInput;
 }