@Override
	public void keyReleased(KeyEvent e) {
		switch(e.getKeyCode()){
		case KeyEvent.VK_UP:		uparrowDown = false; //System.out.println("up arrow up");
			break;
		case KeyEvent.VK_DOWN:		downarrowDown = false; //System.out.println("down arrow up");
			break;
		case KeyEvent.VK_SPACE: 	spaceDown = false; //System.out.println("space up");
			break;
		case KeyEvent.VK_CONTROL: 	leftcontrolDown = false; //System.out.println("left control up");
			break;
		case KeyEvent.VK_SHIFT: 	leftshiftDown = false; //System.out.println("left shift up");
			break;
		case KeyEvent.VK_W:			wDown = false; //System.out.println("w up");
			break;
		case KeyEvent.VK_A:			aDown = false; //System.out.println("a up");
			break;
		case KeyEvent.VK_S:			sDown = false; //System.out.println("s up");
			break;
		case KeyEvent.VK_D:			dDown = false; //System.out.println("d up");
			break;
		case KeyEvent.VK_Q:			qDown = false; //System.out.println("q up");
			break;
		case KeyEvent.VK_E:			eDown = false; //System.out.println("e up");
	}
		
	}