md = new MovePath(); cmd = new MovePath(); gear = Compute.GEAR_LAND; loadedUnits = ce().getLoadedUnits();
clearAllMoves();
    public void selectEntity(int en) {        // clear any previously considered moves        if (en != cen) {            clearAllMoves();        }                // hmm, sometimes this gets called when there's no ready entities?        if (client.game.getEntity(en) == null) {            System.err.println("MovementDisplay: tried to select non-existant entity: " + en);            return;        }        // okay.        this.cen = en;        md = new MovePath();        cmd = new MovePath();        gear = Compute.GEAR_LAND;        loadedUnits = ce().getLoadedUnits();                updateButtons();                client.game.board.highlight(ce().getPosition());        client.game.board.select(null);        client.game.board.cursor(null);        client.mechD.displayEntity(ce());        client.mechD.showPanel("movement");        client.bv.centerOnHex(ce().getPosition());    }