private void processKeyRelease(KeyEvent e) {
        int keyCode = e.getKeyCode();

        keys[keyCode] = false;

        if (gameController.isNewCharacterOpen()) {
        } else if (keyCode == Settings.buttonMoveLeft) {
            keyLeftPressed = false;
            if (!keyRightPressed) {
                gameController.stopXMove();
            }
        } else if (keyCode == Settings.buttonMoveRight) {
            keyRightPressed = false;
            if (!keyLeftPressed) {
                gameController.stopXMove();
            }
        } else if (keyCode == Settings.buttonJump) {
            keySpacePressed = false;
            gameController.stopJump();
        } else if (keyCode == Settings.buttonAction) {
            keyGatherPressed = false;
            gameController.stopActions();
        } else if (keyCode == Settings.buttonRobot) {
            keyRobotPressed = false;
        } else if (keyCode == KeyEvent.VK_SHIFT) {
            gameController.shiftRelease();
        }
    }