Nasal Flightplan: Difference between revisions

m (→‎Related content: more pointers to help fill in some gaps)
Line 27: Line 27:
== Flightplan methods and variables ==
== Flightplan methods and variables ==


; getWP() :  
; getWP(index) : Returns the waypoint for specified index.
; currentWP() :  
; currentWP() :  
; nextWP() :  
; nextWP() :  
Line 34: Line 34:
; appendWP() :  
; appendWP() :  
; insertWP(wp, index) : Pass a waypoint object and its position.
; insertWP(wp, index) : Pass a waypoint object and its position.
; deleteWP() :  
; deleteWP(index) : Deletes the waypoint at specified index.
; insertWPAfter() :  
; insertWPAfter() :  
; insertWaypoints(vector, index) : Pass a vector of waypoint objects, and the position to insert.
; insertWaypoints(vector, index) : Pass a vector of waypoint objects, and the position to insert.
; cleanPlan() :  
; cleanPlan() : Clears all waypoints including destination and departure.
; clearWPType() :  
; clearWPType() :  
; clone() : Return a copy of the fligthplan.
; clone() : Return a copy of the fligthplan.
574

edits