@Override
 public void update(GameContainer gc, StateBasedGame sbg, int arg2) throws SlickException {
   menu.update(this, gc, map);
   if (gc.getInput().isKeyPressed(Input.KEY_ESCAPE)) {
     sbg.enterState(
         GameplayState.ID, new FadeOutTransition(Color.black), new FadeInTransition(Color.black));
   }
 }