@Override
	public void keyReleased(KeyEvent e) {
		// The keys are not pressed down anymore
		switch (e.getKeyCode()) {
		case KeyEvent.VK_W:
			keys[0] = false;
			break;
		case KeyEvent.VK_S:
			keys[1] = false;
			break;
		case KeyEvent.VK_I:
			keys[2] = false;
			break;
		case KeyEvent.VK_K:
			keys[3] = false;
			break;
		case KeyEvent.VK_UP:
			keys[4] = false;
			break;
		case KeyEvent.VK_DOWN:
			keys[5] = false;
			break;
		default:
			break;
	}
		
	}