Class: PlayerColor

PlayerColor()

Stores player color for all players.

Constructor

new PlayerColor()

Source:

Members

DefaultColors

Source:

available

Source:

locked

Source:

locked

Source:

values

Source:

values[undefined]

Source:

values[undefined]

Source:

values[undefined]

Source:

Methods

_findClosestColor()

Source:

_findFarthestUnusedColor()

Source:

_getMapData()

Source:

_getUnusedColor()

Source:

_resize()

Source:

_set()

Source:

_updateAvailable()

Source:

fromInitAttributes()

Source:

get()

Source:

init()

Source:

maybeUpdate()

Source:

onMapChange()

Source:

setColor()

Source:

swap()

Source:

toInitAttributes()

Source: