P
- the generic typeCheckerboard<P,S>
CheckerboardImpl
public interface Players<P extends Player<P,?>>
Modifier and Type | Method | Description |
---|---|---|
void |
clearPlayers() |
Clear players.
|
List<P> |
getPlayers() |
Gets the players.
|
boolean |
hasPlayer(P aElement) |
Checks for player.
|
boolean |
hasPlayers() |
Checks for players.
|
int |
playerCount() |
Player count.
|
Iterator<P> |
players() |
Players.
|
P |
putPlayer(P aElement) |
Put player.
|
boolean |
removePlayer(P aElement) |
Removes the player.
|
boolean hasPlayer(P aElement)
aElement
- the elementint playerCount()
boolean hasPlayers()
void clearPlayers()
boolean removePlayer(P aElement)
aElement
- the elementCopyright © 2018. All rights reserved.