Class GameStateMachine

java.lang.Object
zombie.gameStates.GameStateMachine

public final class GameStateMachine extends Object
  • Field Details

    • firstrun

      public boolean firstrun
    • loop

      public boolean loop
    • stateIndex

      public int stateIndex
    • loopToState

      public int loopToState
    • states

      public final ArrayList<GameState> states
    • current

      public GameState current
    • forceNext

      public GameState forceNext
  • Constructor Details

    • GameStateMachine

      public GameStateMachine()
  • Method Details

    • render

      public void render()
    • update

      public void update()
    • forceNextState

      public void forceNextState(GameState state)