updateFlipArms(false);
    public void keyPressed(KeyEvent ev) {        if (ev.getKeyCode() == ev.VK_ESCAPE) {            clearAttacks();            client.game.board.select(null);            client.game.board.cursor(null);            refreshAll();        }        if (ev.getKeyCode() == ev.VK_ENTER && ev.isControlDown()) {            if (client.isMyTurn()) {                //            }        }        if (ev.getKeyCode() == KeyEvent.VK_SHIFT && !shiftheld) {            shiftheld = true;            if (client.isMyTurn() && client.game.board.lastCursor != null) {                torsoTwist(client.game.board.lastCursor);            }        }    }