/** * setup all variables when entering this state. * * @param container the Container this state is part of * @param arg1 The statebasedgame this state is part of * @throws SlickException sometimes. */ @Override public void enter(GameContainer container, StateBasedGame arg1) throws SlickException { Logger.getInstance().log("Entering MenuMultiplayerState", Logger.PriorityLevels.LOW, "States"); RND.getInstance().setOpacity(0.0f); elements.reset(); mainGame.stopSwitchState(); SoundPlayer.getInstance().setActiveList(MusicLists.MENU_LIST); }