@Override
	public void keyPressed(int k) {
		
		if(k == KeyEvent.VK_UP) {
			currentChoice--;
			
			if(currentChoice < 0)
				currentChoice = options.length - 1;
		}

		else if(k == KeyEvent.VK_DOWN)
			currentChoice = (currentChoice + 1) % options.length;

		else if (k == KeyEvent.VK_ENTER) {

			if(currentChoice == 0)
				gm.changeState(1);
			
			else if (currentChoice == 2)
				System.exit(0);
			
		}	
		
		else if (k == KeyEvent.VK_ESCAPE)
		System.exit(0);
	}