@Override
    public void keyReleased(KeyEvent ke) {

        switch (ke.getKeyCode()) {
	    case KeyEvent.VK_F:
		MainClass.getLevelManager().getPlayer().processFRelease();
		break;
	    case KeyEvent.VK_D:
		MainClass.getLevelManager().getPlayer().processDRelease();
		break;
            case KeyEvent.VK_LEFT:
                arrowKeys[0] = false;
                //MainClass.getMainClass.getLevelManager().getPlayer().arrowKeyReleased(0);
                break;
            case KeyEvent.VK_RIGHT:
                arrowKeys[1] = false;
                //MainClass.getMainClass.getLevelManager().getPlayer().arrowKeyReleased(1);
                break;
            case KeyEvent.VK_UP:
                arrowKeys[2] = false;
                //MainClass.getMainClass.getLevelManager().getPlayer().arrowKeyReleased(2);
                break;

            case KeyEvent.VK_DOWN:
                arrowKeys[3] = false;
                //MainClass.getMainClass.getLevelManager().getPlayer().arrowKeyReleased(3);
                break;
            case KeyEvent.VK_SPACE:
                space = false;
                break;

        }
    }