A core class which represents the current player(s) and their controls and other configuration.
Static variables
staticread onlyonAvatarAdd:FlxTypedSignal<PlayerSettings ‑> Void> = new FlxTypedSignal<PlayerSettings>()
staticread onlyonAvatarRemove:FlxTypedSignal<PlayerSettings ‑> Void> = new FlxTypedSignal<PlayerSettings>()
Static methods
staticget(id:Int):Null<PlayerSettings>
Return the PlayerSettings for the given player number, or null if that player isn't active.
Parameters:
id | The player number this represents. |
|---|
Returns:
The PlayerSettings for the given player number, or null if that player isn't active.