ColorTeam
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
at line line 36
string|int
getId()
Get a unique identifier for the team
at line line 44
string
getName()
Returns the human-readable name of the team
at line line 52
string
getAvatar()
Returns the path to the team's avatar
at line line 62
static
isValidTeamColor(string $color)
Return whether a team color is valid
at line line 73
isSameAs($team)
Find out if a team is the same as another team