if (ev.getKeyCode() == ev.VK_SHIFT && shiftheld) {
if (ev.getKeyCode() == KeyEvent.VK_SHIFT && shiftheld) {
    public void keyReleased(KeyEvent ev) {        if (ev.getKeyCode() == ev.VK_SHIFT && shiftheld) {            shiftheld = false;            if (client.isMyTurn() && client.game.board.lastCursor != null && !client.game.board.lastCursor.equals(client.game.board.selected)) {                // switch to movement                client.bv.clearMovementData();                cmd = md.getAppended(currentMove(md.getFinalCoords(ce().getPosition(), ce().getFacing()), md.getFinalFacing(ce().getFacing()), client.game.board.lastCursor));                client.bv.drawMovementData(ce(), cmd);            }        }    }