org.jogre.common.playerstate
Class PlayerStateFactory
java.lang.Object
org.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
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 |
PlayerStateFactory
public PlayerStateFactory()
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.