public void SetParams(int pass, string company, initial_location init, Segment[] s)
 {
     Passengers       = pass;
     Company_name     = company;
     Initial_location = init;
     Segments         = s;
 }
Esempio n. 2
0
 public Plane(initial_location p, string id, bool ixExt, int pass, string comp, Segment[] s)
 {
     PlaneLocation = p;
     FlightId      = id;
     IsExternal    = ixExt;
     Passengers    = pass;
     CompanyName   = comp;
     Segments      = s;
 }