public class PlayerList extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPlayer(Player pPlayer)
Add a player to the list.
|
Player |
createUniquePlayer()
Create unique player.
|
boolean |
equals(Object pThat) |
Player |
getNamedPlayer(String pName)
Obtain named player from list.
|
javafx.collections.ObservableList<Player> |
getPlayers()
Obtain player list.
|
PoolStatus |
getStatus()
Obtain the status.
|
int |
hashCode() |
boolean |
isEmpty()
Is the list of players empty?
|
Iterator<Player> |
playerIterator()
Obtain player iterator.
|
void |
removePlayer(Player pPlayer)
Remove a player from the list.
|
int |
size()
Obtain number of players.
|
PoolStatus |
validate()
Validate players.
|
public javafx.collections.ObservableList<Player> getPlayers()
public int size()
public boolean isEmpty()
public PoolStatus getStatus()
public Iterator<Player> playerIterator()
public Player getNamedPlayer(String pName)
pName
- the player name.public Player createUniquePlayer()
public void addPlayer(Player pPlayer)
pPlayer
- the player.public void removePlayer(Player pPlayer)
pPlayer
- the player.public PoolStatus validate()
Copyright © 2015. All rights reserved.