file: RandomMoveComponent.aus

class: RandomMoveComponent

[16:7] extends: Component

Wraps FXGL's RandomMoveComponent (com.almasb.fxgl.dsl.components.RandomMoveComponent), which pseudo-randomly walks the entity within a Rectangle2D bounds region. When the bbox approaches the edge the move direction reverses toward the center of the bounds.

Methods