public void update(GameContainer gc, StateBasedGame sbg, int delta) throws SlickException{
		Input input = gc.getInput();
		
		// Clear the key-pressed record.
		input.clearKeyPressedRecord();
		
		// If the user presses up or down, scroll through the high scores.
		if (input.isKeyDown(Input.KEY_DOWN)){
			dy++;
		}
		if (input.isKeyDown(Input.KEY_UP)){
			dy--;
		}
		
		// If the user presses f1, clear the high scores.
		if (input.isKeyDown(Input.KEY_F1)){
			if(sbg.getCurrentStateID() == Game.HIGHSCORE_STATE){
				sbc.clear();
			}
		}
		
		// If the user presses "m", go back to the main menu.
		if (input.isKeyDown(Input.KEY_M)){
			sbg.enterState(Game.MAIN_MENU_STATE, new FadeOutTransition(), new FadeInTransition());
		}
		
		// If the user presses "e", exit the game.
		if (input.isKeyDown(Input.KEY_E)){
			System.exit(0);
		}	
	}