file: ActivatorComponent.aus

class: ActivatorComponent

[18:7] extends: BooleanComponent

Wraps FXGL's ActivatorComponent (com.almasb.fxgl.dsl.components.ActivatorComponent), a BooleanComponent that models a switch or trigger. Tracks how many times it has been activated and whether it can still be deactivated. Useful for one-shot buttons, levers, and pressure plates.

Methods