public void keyReleased(KeyEvent e){
            switch (e.getKeyCode()){
	    case KeyEvent.VK_LEFT:
		leftKey = false;
                break;
	    case KeyEvent.VK_RIGHT:
		rightKey = false;
                break;
	    case KeyEvent.VK_UP:
		upKey = false;
		break;
	    case KeyEvent.VK_DOWN:
                downKey = false;
                break;
	    case KeyEvent.VK_SPACE:
		space = false;
		break;
	    case KeyEvent.VK_ENTER:
		enter = false;
		break;
	    case KeyEvent.VK_B:
		deployBomb = false;
		break;
            }
        }