PlayerUtility ​
Inherits: RefCounted
Holds the player that is in control now (a static variable): get_current_player and set_current_player.
Variables ​
Player | current_player |
Methods ​
void | set_current_player( new_current_player: Player ) static |
Player | get_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.