file: ObservableTrigger.aus

class: ObservableTrigger

[17:7] extends: FxObj

Wraps FXGL's ObservableTrigger (com.almasb.fxgl.input.ObservableTrigger), the holder returned by Input.triggerProperty(action). Carries the live Trigger (the current key / mouse binding) plus a name property and re-fires isTriggered / isReleased queries against an event. Construct with a Trigger AJO; commonly obtained from Input via the wrapper rather than built directly.

Methods