if (ev.getKeyCode() == KeyEvent.VK_LEFT && shiftheld) { updateFlipArms(false); torsoTwist(0); } if (ev.getKeyCode() == KeyEvent.VK_RIGHT && shiftheld) { updateFlipArms(false); torsoTwist(1); }
    public void keyPressed(KeyEvent ev) {        // Are we ignoring events?        if ( this.isIgnoringEvents() ) {            return;        }        if (ev.getKeyCode() == KeyEvent.VK_ESCAPE) {            clearAttacks();            client.game.board.select(null);            client.game.board.cursor(null);            refreshAll();        }        if (ev.getKeyCode() == KeyEvent.VK_ENTER && ev.isControlDown()) {            if (client.isMyTurn()) {                //            }        }        if (ev.getKeyCode() == KeyEvent.VK_SHIFT && !shiftheld) {            shiftheld = true;            if (client.isMyTurn() && client.game.board.lastCursor != null) {                updateFlipArms(false);                torsoTwist(client.game.board.lastCursor);            }        }/*        if (ev.getKeyCode() == KeyEvent.VK_M) {            changeMode();         }*/  }