disableButtons(); TriggerAPPodDialog dialog = new TriggerAPPodDialog( clientgui.getFrame(), ce()); disableButtons(); TriggerBPodDialog dialog = new TriggerBPodDialog(clientgui, ce(), ((GameTurn.TriggerBPodTurn) turn).getAttackType());
/** * Does end turn stuff. */ protected void endMyTurn() { // end my turn, then. IGame game = clientgui.getClient().getGame(); Entity next = game.getNextEntity(game.getTurnIndex()); if ((game.getPhase() == IGame.Phase.PHASE_FIRING) && (next != null) && (ce() != null) && (next.getOwnerId() != ce().getOwnerId())) { clientgui.setDisplayVisible(false); } cen = Entity.NONE; target(null); clientgui.getBoardView().select(null); clientgui.getBoardView().highlight(null); clientgui.getBoardView().cursor(null); clientgui.bv.clearMovementData(); clientgui.bv.clearFiringSolutionData(); clientgui.bv.clearStrafingCoords(); clientgui.bv.clearFieldofF(); clientgui.setSelectedEntityNum(Entity.NONE); disableButtons(); clearVisibleTargets(); }