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.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.

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.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(int intState)
          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.