/** This object holds information for an airport and
 * 	the availeble destination airports for that airport.
 *
 *	@param fromAirport	an Airport object
 *	@param toAirport	an Array of Airport Objects
 * 
 */

function Route(fromAirport, toAirports) {
	this.fromAirport = fromAirport;
	this.toAirports = toAirports;
}


/** Gets the from airport
 */
 
Route.prototype.getFromAirport = function() {
	return this.fromAirport;
}


/** gets an array of the destination airports
 */
 
Route.prototype.getToAirports = function() {
	return this.toAirports;
}

