Class GameStateMachine

java.lang.Object
zombie.gameStates.GameStateMachine

public class GameStateMachine
extends java.lang.Object
  • Field Details

    • firstrun

      public boolean firstrun
    • Loop

      public boolean Loop
    • StateIndex

      public int StateIndex
    • LoopToState

      public int LoopToState
    • States

      public java.util.ArrayList 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 gameState)