Constructor
new PlayerAssignmentsController()
Methods
assignPlayer()
If both clients are assigned players, this will swap their assignments.
onClientJoin()
On client join, try to assign them to a free slot.
(This is called before g_PlayerAssignments is updated).
onPlayerAssignmentMessage()
Called whenever a client joins or leaves or any game setting is changed.
updatePlayerAssignments()
To be called when g_PlayerAssignments is modified.