} else if (ev.getActionCommand().equalsIgnoreCase("prone") && client.isMyTurn()) {
} else if (ev.getActionCommand().equalsIgnoreCase("charge") && client.isMyTurn()) { if (gear != Compute.GEAR_LAND) { clearAllMoves(); } gear = Compute.GEAR_CHARGE; butWalk.setEnabled(true); butJump.setEnabled(ce().getJumpMP() > 0); } else if (ev.getActionCommand().equalsIgnoreCase("dfa") && client.isMyTurn()) { if (gear != Compute.GEAR_JUMP) { clearAllMoves(); } gear = Compute.GEAR_DFA; butWalk.setEnabled(true); butJump.setEnabled(ce().getJumpMP() > 0); } else if (ev.getActionCommand().equalsIgnoreCase("getup") && client.isMyTurn()) {
    public void actionPerformed(ActionEvent ev) {        if (ev.getActionCommand().equalsIgnoreCase("ready") && client.isMyTurn()) {                client.sendEntityReady(cen);                client.sendReady(true);        } else if (ev.getActionCommand().equalsIgnoreCase("move") && client.isMyTurn()) {                moveTo(md);        } else if (ev.getActionCommand().equalsIgnoreCase("next") && client.isMyTurn()) {                clearAllMoves();                selectEntity(client.game.getNextEntityNum(client.getLocalPlayer(), cen));        } else if (ev.getActionCommand().equalsIgnoreCase("walk") && client.isMyTurn()) {            if (gear == Compute.GEAR_JUMP) {                            clearAllMoves();            }            gear = Compute.GEAR_LAND;            butJump.setEnabled(ce().getJumpMP() > 0);        } else if (ev.getActionCommand().equalsIgnoreCase("jump") && client.isMyTurn()) {            if (gear != Compute.GEAR_JUMP) {                clearAllMoves();            }            if (!md.contains(MovementData.STEP_START_JUMP)) {                md.addStep(MovementData.STEP_START_JUMP);            }            gear = Compute.GEAR_JUMP;            butWalk.setEnabled(true);            butBackup.setEnabled(true);        } else if (ev.getActionCommand().equalsIgnoreCase("backup") && client.isMyTurn()) {            if (gear != Compute.GEAR_JUMP) {                clearAllMoves();            }            gear = Compute.GEAR_BACKUP;            butWalk.setEnabled(true);            butJump.setEnabled(ce().getJumpMP() > 0);        } else if (ev.getActionCommand().equalsIgnoreCase("prone") && client.isMyTurn()) {            clearAllMoves();            gear = Compute.GEAR_LAND;            if (!md.contains(MovementData.STEP_GET_UP)) {                md.addStep(MovementData.STEP_GET_UP);            }            client.bv.drawMovementData(ce(), cmd);            butMove.setLabel("Move");            butMove.setEnabled(true);        }     }