Uses of Class

Packages that use PlayerState
org.jogre.common This package contains classes which are common to both a client or a server. 
org.jogre.common.comm This package contains a number of communication objects (communication classes start with Comm) amd two Interface's which describe the protocol. 
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 PlayerState in org.jogre.common

Fields in org.jogre.common declared as PlayerState
protected  PlayerState Player.playerState
          State of the player.

Methods in org.jogre.common that return PlayerState
 PlayerState Player.getState()
          Returns the state of this player as a PlayerState object.

Methods in org.jogre.common with parameters of type PlayerState
 void Player.setState(PlayerState state)
          Set the seat number of this player (set when a player sits down).

Constructors in org.jogre.common with parameters of type PlayerState
Player(String playerName, PlayerState playerState)
          Constructor requires both a player and a status as parameters and sets the seat number to NOT_SEATED.

Uses of PlayerState in org.jogre.common.comm

Methods in org.jogre.common.comm that return PlayerState
 PlayerState CommPlayerState.getState()
          Return this state.

Constructors in org.jogre.common.comm with parameters of type PlayerState
CommPlayerState(int table, String player, PlayerState state)
          Constructor which takes a table number, a player's name and a state.

Uses of PlayerState in org.jogre.common.playerstate

Subclasses of PlayerState in org.jogre.common.playerstate
 class PlayerStateGameStarted
          State object for a game started player state.
 class PlayerStateReady
          State object for a player ready state.
 class PlayerStateSeated
          State object for a seated player state.
 class PlayerStateViewing
          State object for a viewing player state.

Methods in org.jogre.common.playerstate that return PlayerState
 PlayerState PlayerStateViewing.sit()
          If a player sits the state changes to seated.
 PlayerState PlayerStateViewing.stand()
 PlayerState PlayerStateViewing.start()
 PlayerState PlayerStateSeated.stand()
          If a player stands his state goes back to viewing.
 PlayerState PlayerStateSeated.start()
          Player state goes to ready to start.
 PlayerState PlayerStateSeated.sit()
 PlayerState PlayerStateReady.sit()
 PlayerState PlayerStateReady.stand()
 PlayerState PlayerStateReady.start()
 PlayerState PlayerStateGameStarted.sit()
 PlayerState PlayerStateGameStarted.stand()
 PlayerState PlayerStateGameStarted.start()
static PlayerState PlayerStateFactory.getState(String state)
          Factory method which returns a PlayerState object from a specied integer state.
abstract  PlayerState PlayerState.sit()
          Abstract method which defines what a player can do when they sit.
abstract  PlayerState PlayerState.stand()
          Abstract method which defines what a player can do when they stand up.
abstract  PlayerState PlayerState.start()
          Abstract method which defines what a player can do when they start.