file: InputCapture.aus

class: InputCapture

[18:7] extends: TriggerListener

Wraps FXGL's InputCapture (com.almasb.fxgl.input.InputCapture), the recorder/replayer for user input. Obtain instances from Input.startCapture (which returns one as the capture is recorded) and feed back into Input.applyCapture to replay. InputCapture is also serializable through Bundle, so captures can be written to disk for demos, replays, or AI training data.

Methods