20,741
edits
No edit summary |
|||
Line 5: | Line 5: | ||
== Listeners == | == Listeners == | ||
'''Listeners''' are a way to register event handlers to be executed once | '''Listeners''' are a way to register event handlers (functions processing/dealing with ann event) to be executed once a property is modified/written to (updated). This is accomplished using the SGProeprtyChangeListener API (link) in SimGear. | ||
Listeners are the most common method for running custom Nasal callbacks (functions), the other being [[Timers]]. | Listeners are the most common method for running custom Nasal callbacks (functions), the other being [[Timers]]. | ||