public void keyReleased(KeyEvent e){
		switch(e.getKeyCode()){
			case 37:
			case 65:
			left = false;
			((Player)engine.getWorld().getPlayer()).setNext(left, right,-1);
			break;
			case 38:
			up = false;
			break;
			case 39:
			case 68:
			right = false;
			((Player)engine.getWorld().getPlayer()).setNext(left, right,-2);
			break;
			case KeyEvent.VK_SPACE:
				up = false;	
				break;
		}
	}