|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectzombie.gameStates.GameStateMachine
public class GameStateMachine
Nested Class Summary | |
---|---|
static class |
GameStateMachine.StateAction
|
Field Summary | |
---|---|
boolean |
firstrun
|
GameState |
forceNext
|
boolean |
Loop
|
int |
LoopToState
|
int |
StateIndex
|
java.util.ArrayList<GameState> |
States
|
Constructor Summary | |
---|---|
GameStateMachine()
|
Method Summary | |
---|---|
void |
forceNextState(GameState state)
|
void |
render()
|
void |
update()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean firstrun
public boolean Loop
public int StateIndex
public int LoopToState
public java.util.ArrayList<GameState> States
public GameState forceNext
Constructor Detail |
---|
public GameStateMachine()
Method Detail |
---|
public void render()
public void update()
public void forceNextState(GameState state)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |