|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PlayerList | |
org.jogre.common | This package contains classes which are common to both a client or a server. |
org.jogre.common.playerstate | This package implements the "state" design pattern for each player at a particular table to easily keep state such as sitting, standing, ready to player etc. |
Uses of PlayerList in org.jogre.common |
Methods in org.jogre.common that return PlayerList | |
PlayerList |
Table.getPlayerList()
|
Methods in org.jogre.common with parameters of type PlayerList | |
boolean |
Player.canSit(PlayerList players)
Return true if a player can sit or not. |
boolean |
Player.canStand(PlayerList players)
Returns true if a player can stand. |
boolean |
Player.canStart(PlayerList players)
Returns true if a player can sit. |
Uses of PlayerList in org.jogre.common.playerstate |
Methods in org.jogre.common.playerstate with parameters of type PlayerList | |
abstract boolean |
PlayerState.canSit(PlayerList players)
Returns true if a user can sit. |
abstract boolean |
PlayerState.canStand(PlayerList players)
Returns true if a user can stand. |
abstract boolean |
PlayerState.canStart(PlayerList players)
Returns true if a user can hit the start. |
boolean |
PlayerStateViewing.canSit(PlayerList players)
A player can sit if the number of players already seated isn't greater than the maximum number of players allowed in this game. |
boolean |
PlayerStateViewing.canStand(PlayerList players)
|
boolean |
PlayerStateViewing.canStart(PlayerList players)
|
boolean |
PlayerStateReady.canSit(PlayerList players)
|
boolean |
PlayerStateReady.canStand(PlayerList players)
|
boolean |
PlayerStateReady.canStart(PlayerList players)
|
boolean |
PlayerStateSeated.canStand(PlayerList players)
Once seated a player can stand back up again. |
boolean |
PlayerStateSeated.canStart(PlayerList players)
A player can start if the minimum number of players are seated or are ready to start. |
boolean |
PlayerStateSeated.canSit(PlayerList players)
|
boolean |
PlayerStateGameStarted.canSit(PlayerList players)
|
boolean |
PlayerStateGameStarted.canStand(PlayerList players)
|
boolean |
PlayerStateGameStarted.canStart(PlayerList players)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |