Nasal Flightplan: Difference between revisions

Jump to navigation Jump to search
→‎Procedure methods and variables: document airport methods
(→‎Procedure methods and variables: Document the methods available per procedureGhostGetMember)
(→‎Procedure methods and variables: document airport methods)
Line 105: Line 105:
; route(runway) : Returns a vector of waypoints.
; route(runway) : Returns a vector of waypoints.
; transition() : Only works on STAR and SID.
; transition() : Only works on STAR and SID.
== Airport methods and variables ==
; runway : a ghost for the runway passed as a string or nil
; runwaysWithoutReciprocals :
; helipad : a ghost for the helipad passed as a string or nil
; tower : returns hash containing airport tower location
; comms : contains vector containing communication frequencies
; sids : a vector containing the sids of the airport, if a runway is passed, just for that runway
; stars : a vector containing the stars of the airport, if a runway is passed, just for that runway
; getApproachList : a vector containing the IAPs of the airport,  if a runway is passed, just for that runway
; parking : a vector containing parking positions of the airport
; getSid : a ghost for a SID
; getStar : a ghost for a STAR
; getIAP : a ghost for a IAP
; findBestRunwayForPos : passed a position, returns a ghost for the runway it decides is best
; toString : returns "an airport " + the airport id


== Examples ==
== Examples ==
842

edits

Navigation menu