Skip to content

PlayerUtility ​

Inherits: RefCounted

Holds the player that is in control now (a static variable): get_current_player and set_current_player.

Variables ​

Playercurrent_player

Methods ​

voidset_current_player( new_current_player: Player ) static
Playerget_current_player() static

Variable descriptions ​

Player current_player ​

The player in control now.

Method descriptions ​

void set_current_player( new_current_player: Player ) ​

Sets the player in control.

Player get_current_player() ​

The player in control now.