private void handleKeys(){
		
		switch(keyListener.getCurrentKeyCode()){
			case KeyEvent.VK_ESCAPE:
				gameEngine.startMenu();
				break;
			case KeyEvent.VK_W:
			case KeyEvent.VK_UP:
				pacman.setNewDirection(0);
				break;
			case KeyEvent.VK_D:
			case KeyEvent.VK_RIGHT:
				pacman.setNewDirection(1);
				break;
			case KeyEvent.VK_S:
			case KeyEvent.VK_DOWN:
				pacman.setNewDirection(2);
				break;
			case KeyEvent.VK_A:
			case KeyEvent.VK_LEFT:
				pacman.setNewDirection(3);
				break;
		}
		
	}