public interface Team
MatchType.DUEL
and MatchType.FREE_FOR_ALL
, each team
will contain a single player.Field
Modifier and Type | Method | Description |
---|---|---|
Player |
getPlayer(char symbol) |
Gets the player on this team with the given identifying symbol.
|
Set<Player> |
getPlayers() |
Gets the set of all players on this team.
|
Score |
getScore() |
Gets this team's score.
|
char |
getSymbol() |
Gets the symbol that uniquely identifies this team.
|
Table |
getTable() |
Gets the table that scores points for this team.
|
char getSymbol()
Set<Player> getPlayers()
Player getPlayer(char symbol)
Player.getSymbol()
will return the
symbol passed into this method. If no such player exists, null is
returned.symbol
- the desired identifying symbolTable getTable()
Score getScore()