public void gameStateChangeListener(GameLogic.GameState state) {
        switch(state) {
            case PLAYING:
                //audioPlayer.stop(currentMusic);
                clearScreens();
                addScreen(GameplayScreenFactory.create());
                audioPlayer.playMusic("gameplay", true);
                break;
            case MAIN_MENU:
                //audioPlayer.stop(currentMusic);
                clearScreens();
                addScreen(MainMenuScreenFactory.create());
                audioPlayer.playMusic("main menu", true);
                break;
            case GAME_LOST:
                clearScreens();
                addScreen(HighScoreScreenFactory.create());
                break;
        }
    }