Class GameStateManager

    • Constructor Detail

      • GameStateManager

        public GameStateManager​(T id,
                                IGameState currentGameState)
        Parameters:
        id - The identifier to map the first game state to.
        currentGameState - The @see IGameState that should be the first game state to run.
      • GameStateManager

        public GameStateManager​(T id,
                                IGameState currentGameState,
                                D runtimeData)
        Parameters:
        id - The identifier to map the first game state to.
        currentGameState - The @see IGameState that should be the first game state to run.
        runtimeData - The data to pass into game states at run time.