We can use the new signal for that: https://github.com/HaxeFlixel/flixel/pull/1557 Having constructor arguments in FlxState subclasses is discouraged since it breaks resetState().