public void SetParams(int pass, string company, initial_location init, Segment[] s)
 {
     Passengers       = pass;
     Company_name     = company;
     Initial_location = init;
     Segments         = s;
 }
예제 #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;
 }