random-flight-generator
Version:
A tool for generating random flights.
21 lines (20 loc) • 580 B
TypeScript
import { AirportJson } from './AirportUtils';
import { FlightGeneratorOptions } from './FlightGenerator';
export declare class Airport {
icao: string;
iata: string;
lat: number;
lon: number;
name: string;
country: string;
state: string;
city: string;
elevation: number;
randomlyGenerated: boolean;
constructor(airport?: AirportJson);
getCountryName(): string;
getState(): string;
satisfiesFlightGeneratorOptions(options?: FlightGeneratorOptions): boolean;
toJson(): AirportJson;
print(): void;
}