Example #1
0
 public FlightPiece(object distance, AirportPiece frm, AirportPiece to, FlightTemplatePiece tmplt, TimePiece tpsa, TimePiece tpso, AirplanePiece airp)
     : base()
 {
     this.Table.AddKeyParserPair("distance",distance,Parsers.StringParser,Parsers.Int32Parser);
     this[0x00] = frm;
     this[0x01] = to;
     this[0x02] = tmplt;
     this[0x03] = tpsa;
     this[0x04] = tpso;
     this[0x05] = airp;
 }
Example #2
0
 public FlightPiece(AirportPiece frm, AirportPiece to, FlightTemplatePiece tmplt, TimePiece tpsa, TimePiece tpso, AirplanePiece airp)
     : this(null,frm,to,tmplt,tpsa,tpso,airp)
 {
 }