cmd.addStep(MovePath.STEP_SHAKE_OFF_SWARMERS);
clientgui.bv.drawMovementData(ce, cmd);
} else if (ev.getActionCommand().equals(MOVE_MODE_MECH)) {
clearAllMoves();
if (ce instanceof LandAirMech) {
final LandAirMech lam = (LandAirMech) client.getEntity(ce.getId());
lam.convertToMode(LandAirMech.MODE_MECH);
updateTransformationButtons(lam);
clientgui.mechD.displayEntity(lam);
}
} else if (ev.getActionCommand().equals(MOVE_MODE_AIRMECH)) {
clearAllMoves();
if (ce instanceof LandAirMech) {
final LandAirMech lam = (LandAirMech) client.getEntity(ce.getId());
lam.convertToMode(LandAirMech.MODE_AIRMECH);
updateTransformationButtons(lam);
clientgui.mechD.displayEntity(lam);
}
} else if (ev.getActionCommand().equals(MOVE_MODE_AIRCRAFT)) {
clearAllMoves();
if (ce instanceof LandAirMech) {
final LandAirMech lam = (LandAirMech) client.getEntity(ce.getId());
lam.convertToMode(LandAirMech.MODE_AIRCRAFT);
updateTransformationButtons(lam);
clientgui.mechD.displayEntity(lam);
}
} else if (ev.getActionCommand().equals(MOVE_RECKLESS)) {
cmd.setCareful(false);