src/main/java/h1z1/MainFrame.java
public void changeState(GameState gameState) {
        this.gameState = gameState;

        // Clear all input hooks that may have been set
        // by a InputProvider
        for (InputProvider provider : allInputs) {
            provider.clearButtonHandlers();
        }
    }
/**
     * If a game screen manager wants to change the state (e.g. for menu navigation purposes),
     * they use this method.
     * @param gameState
     */
If a game screen manager wants to change the state ,
they use this method.
@param gameState
If a game screen manager wants to change the state they use this method . @param gameState
public void changeState(GameState gameState) {
        this.gameState = gameState;
        for (InputProvider provider : allInputs) {
            provider.clearButtonHandlers();
        }
    }
public void changeState ( GameState gameState ) { this . gameState = gameState ; for ( InputProvider provider : allInputs ) { provider . clearButtonHandlers ( ) ; } }
If a game screen manager wants to change the state (e.g.
If a game screen manager wants to change the state ( e . g .
// Clear all input hooks that may have been set // by a InputProvider