private boolean isEnabled(MoveCommand c) { return buttons.get(c).isEnabled(); }
@Override public boolean shouldPerformAction() { if (!clientgui.isProcessingPointblankShot() || clientgui.bv.getChatterBoxActive() || !display.isVisible() || display.isIgnoringEvents() || !buttons.get(FiringCommand.FIRE_FIRE) .isEnabled()) { return false; } else { return true; } }
@Override public boolean shouldPerformAction() { if (!clientgui.getClient().isMyTurn() || clientgui.bv.getChatterBoxActive() || !display.isVisible() || display.isIgnoringEvents() || !buttons.get(FiringCommand.FIRE_FIRE) .isEnabled()) { return false; } else { return true; } }
@Override public boolean shouldPerformAction() { if (!clientgui.getClient().isMyTurn() || clientgui.bv.getChatterBoxActive() || !display.isVisible() || display.isIgnoringEvents() || !buttons.get(TargetingCommand.FIRE_FIRE) .isEnabled()) { return false; } else { return true; } }
@Override public boolean shouldPerformAction() { if (!clientgui.isProcessingPointblankShot() || clientgui.bv.getChatterBoxActive() || display.isIgnoringEvents() || !display.isVisible() || !butDone.isEnabled()) { return false; } else { return true; } }
(i < ((currentButtonGroup + 1) * buttonsPerGroup)) && (i < buttonList.size()); i++) { if (buttonList.get(i) != null && buttonList.get(i).isEnabled()){ ok = true; break;
textLabel.setFont(specificFont); if (this.isEnabled()) { if (isMousedOver) { Font font = textLabel.getFont();
@Override public boolean shouldPerformAction() { if ((!clientgui.getClient().isMyTurn() && (clientgui .getClient().getGame().getTurn() != null)) || clientgui.bv.getChatterBoxActive() || display.isIgnoringEvents() || !display.isVisible() || !butDone.isEnabled()) { return false; } else { return true; } }
setGetUpEnabled(false); setGoProneEnabled(!ce.isImmobile() && isMech && !ce.isStuck() && !(getBtn(MoveCommand.MOVE_GET_UP).isEnabled())); if (!(ce instanceof Tank) && !(ce instanceof QuadVee && ce.getConversionMode() == QuadVee.CONV_MODE_VEHICLE)) {