public void keyPressed(int k){
		if (savedGames.size() > 0){
			if (k == KeyEvent.VK_UP){
				Effect.MENU_MOVE.play();
				currentChoice--;
				if (currentChoice < 0) {currentChoice = savedGames.size() - 1;}
			}
			if (k == KeyEvent.VK_DOWN){
				Effect.MENU_MOVE.play();
				currentChoice++;
				if (currentChoice > savedGames.size() - 1) {currentChoice = 0;}
			}
			if (k == KeyEvent.VK_ENTER){
				//get the game object at the current index
				Effect.GAME_START.play();
				SavedGame game = savedGames.get(currentChoice);
				LevelState.setObjects(game.getLevelName(), game.getHealth(), game.getStrength(), game.getDefense(),
						game.getLives(), game.getPlayerSize(), game.getxPosition(), game.getyPosition());
				gsm.setState(GameStateManager.LEVELSTATE);
			}
		}
		if (k == KeyEvent.VK_B) {
			Effect.MENU_BACK.play();
			gsm.setState(GameStateManager.MENUSTATE);
		}
	}