|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jmex.game.state.GameState
com.jmex.game.state.GameStateNode<GameState>
com.jmex.game.state.GameStateManager
public class GameStateManager
GameStateManager
is nothing more than a singleton
GameStateNode
. It should be the root of the GameState "tree".
GameStateNode
,
GameState
Field Summary |
---|
Fields inherited from class com.jmex.game.state.GameStateNode |
---|
children |
Fields inherited from class com.jmex.game.state.GameState |
---|
active, name, parent |
Method Summary | |
---|---|
static GameStateManager |
create()
Creates a new GameStateManager . |
static GameStateManager |
getInstance()
Returns the singleton instance of this class. |
Methods inherited from class com.jmex.game.state.GameStateNode |
---|
activateAllChildren, activateChildNamed, attachChild, cleanup, deactivateAllChildren, deactivateChildNamed, detachAllChildren, detachChild, detachChild, detachChild, getChild, getChild, getChildren, getQuantity, hasChild, render, update |
Methods inherited from class com.jmex.game.state.GameState |
---|
getName, getParent, isActive, setActive, setName, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GameStateManager create()
GameStateManager
.
public static GameStateManager getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |