Your browser does not support HTML5 canvas. Fork me on GitHub

Available Packages:

Playercolor

Source

playercolor PLAYER_COLOR_BLACK_AGGRESSIVE

Source

playercolor PLAYER_COLOR_BLACK_PASSIVE

Source

playercolor PLAYER_COLOR_UNKNOWN1

Source

playercolor PLAYER_COLOR_UNKNOWN2

Source

function static player.getColor() returns playercolor

Source

function static playercolor.getPlayer() returns player

Source

Returns the player that had this color *at the start of the game*. Does not respect SetPlayerColor.

function static playercolor.getPlayers() returns force

Source

Returns the players who are currently using this player color. Respects calls to SetPlayerColor

function static player.setColor(playercolor color)

Source

function testGetPlayer()

Source

function testGetPlayers()

Source

function testToInt()

Source

function testToPlayerColor()

Source

function static playercolor.toInt() returns int

Source

function int.toPlayerColor() returns playercolor

Source