Class GameStateMachine
java.lang.Object
zombie.gameStates.GameStateMachine
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
forceNextState
(GameState state) 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
-