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)