Package zombie.gameStates
Class GameStateMachine
java.lang.Object
zombie.gameStates.GameStateMachine
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forceNextState
(GameState gameState) void
render()
void
update()
-
Field Details
-
firstrun
public boolean firstrun -
Loop
public boolean Loop -
StateIndex
public int StateIndex -
LoopToState
public int LoopToState -
States
-
current
-
forceNext
-
-
Constructor Details
-
GameStateMachine
public GameStateMachine()
-
-
Method Details
-
render
public void render() -
update
public void update() -
forceNextState
-