org.jogre.common.playerstate
Class PlayerStateFactory

java.lang.Object
  extended byorg.jogre.common.playerstate.PlayerStateFactory

public class PlayerStateFactory
extends Object

Factory which creates a state from an integer defined in integer defined in PlayerState.

Version:
Alpha 0.2.1
Author:
Bob Marks
See Also:
PlayerState

Constructor Summary
PlayerStateFactory()
           
 
Method Summary
static PlayerState getState(int intState)
          Factory method which returns a PlayerState object from a specied integer state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerStateFactory

public PlayerStateFactory()
Method Detail

getState

public static PlayerState getState(int intState)
Factory method which returns a PlayerState object from a specied integer state.

Parameters:
intState - State as an integer.
Returns:
State as a PlayerState object.