Accessed via FlxG.signals
.
Variables
read onlygameResized:FlxTypedSignal<(Int, Int) ‑> Void> = new FlxTypedSignal<Int -> Int>()
Gets dispatched when the game is resized. Passes the new window width and height to callback functions.
read onlypostGameStart:FlxSignal = new FlxSignal()
Gets dispatched when the game is started (first state after the splash screen).
Available since
4.6.0
.read onlypreGameStart:FlxSignal = new FlxSignal()
Gets dispatched just before the game is started (before the first state after the splash screen is created)
Available since
4.6.0
.read onlypreStateSwitch:FlxSignal = new FlxSignal()
Gets dispatched when a state change occurs.
Available since
4.6.0
.