if ( this.isIgnoringEvents() ) { return; }
    public void boardHexMoused(BoardEvent b) {                if (b.getType() != BoardEvent.BOARD_HEX_DRAGGED) {            return;        }                // ignore buttons other than 1        if (!client.isMyTurn() || ce() == null || (b.getModifiers() & MouseEvent.BUTTON1_MASK) == 0) {            return;        }        // control pressed means a line of sight check.        // added ALT_MASK by kenn        if ((b.getModifiers() & InputEvent.CTRL_MASK) != 0 || (b.getModifiers() & InputEvent.ALT_MASK) != 0) {            return;        }        // check for shifty goodness        boolean shiftheld = (b.getModifiers() & MouseEvent.SHIFT_MASK) != 0;                // check for a deployment        Coords moveto = b.getCoords();         if (ce().getPosition() != null && (shiftheld || turnMode)) { // turn            ce().setFacing(ce().getPosition().direction(moveto));            ce().setSecondaryFacing(ce().getFacing());            client.bv.redrawEntity(ce());            turnMode = false;        }        else if ( !client.game.board.isLegalDeployment                  (moveto, ce().getOwner()) ||                  ce().isHexProhibited(client.game.board.getHex(moveto)) ) {            StringBuffer buff = new StringBuffer();            buff.append( ce().getShortName() )                .append( " can not deploy into " )                .append( moveto.getBoardNum() )                .append( "." );            AlertDialog dlg = new AlertDialog( client.frame,                                               "Invalid deployment",                                               buff.toString() );            dlg.show();            return;        }        else if (client.game.getFirstEntity(moveto) != null) {            return;        }        else {                ce().setPosition(moveto);            client.bv.redrawEntity(ce());            butDone.setEnabled(true);        }        client.game.board.select( moveto );    }