file: LiftComponent.aus

class: LiftComponent

[19:7] extends: Component

Wraps FXGL's LiftComponent (com.almasb.fxgl.dsl.components.LiftComponent), which moves the entity back and forth on either axis at the configured distance / duration / speed. Use one of the xAxis* / yAxis* configurators to enable motion on that axis; the entity oscillates between two endpoints, swapping direction every duration period.

Methods