public void keyReleased(KeyEvent e) {
		switch(e.getKeyCode()) {
		case 37: left = false;
		leftReleased = true;
			break;
		case 39: right = false;
		rightReleased = true;
			break;
		case 65: a = false;
		aReleased = true;
			break;
		case 68: d = false;
		dReleased = true;
			break;
		case 10: enter = false;
			enterReleased = true;
			break;
		case 38: up = false;
		upReleased = true;
			break;
		case 40: down = false;
		downReleased = true;
			break;
		case KeyEvent.VK_W: w = false;
		wReleased = true;
			break;
		case KeyEvent.VK_S: s = false;
		sReleased = true;
			break;
	}
	}