class ColorTeam implements TeamInterface

A team identified by its color in BZFlag

Methods

__construct(string $color)

Define a new ColorTeam

string|int
getId()

Get a unique identifier for the team

string
getName()

Returns the human-readable name of the team

string
getAvatar()

Returns the path to the team's avatar

static 
isValidTeamColor(string $color)

Return whether a team color is valid

isSameAs($team)

Find out if a team is the same as another team

Details

at line line 26
__construct(string $color)

Define a new ColorTeam

Parameters

string $color The color of the team

at line line 36
string|int getId()

Get a unique identifier for the team

Return Value

string|int

at line line 44
string getName()

Returns the human-readable name of the team

Return Value

string

at line line 52
string getAvatar()

Returns the path to the team's avatar

Return Value

string

at line line 62
static isValidTeamColor(string $color)

Return whether a team color is valid

Parameters

string $color The color to check

at line line 73
isSameAs($team)

Find out if a team is the same as another team

Parameters

$team