else if (ea instanceof UnjamAction) { resolveUnjam(entity); } else if (ea instanceof ClearMinefieldAction) { clearAttempts.addElement(entity); }
else if (ea instanceof UnjamAction) { resolveUnjam(entity); } else if (ea instanceof ClearMinefieldAction) { clearAttempts.addElement(entity); } else if (ea instanceof TriggerAPPodAction) { TriggerAPPodAction tapa = (TriggerAPPodAction) ea;   if ( !triggerPodActions.contains( tapa ) ) { triggerAPPod(entity, tapa.getPodId()); triggerPodActions.add( tapa ); } else { System.err.print( "AP Pod #" ); System.err.print( tapa.getPodId() ); System.err.print( " on " ); System.err.print( entity.getDisplayName() ); System.err.println(" was already triggered this round!!"); } }
    private void resolveAllButWeaponAttacks() {        roundReport.append("\nWeapon Attack Phase\n-------------------\n");        Vector clearAttempts = new Vector();        // loop thru actions and handle everything we expect except attacks        for (Enumeration i = game.getActions(); i.hasMoreElements();) {            EntityAction ea = (EntityAction)i.nextElement();            Entity entity = game.getEntity(ea.getEntityId());            if (ea instanceof TorsoTwistAction) {                TorsoTwistAction tta = (TorsoTwistAction)ea;                if ( entity.canChangeSecondaryFacing() ) {                    entity.setSecondaryFacing(tta.getFacing());                }            }            else if (ea instanceof FlipArmsAction) {                FlipArmsAction faa = (FlipArmsAction)ea;                entity.setArmsFlipped(faa.getIsFlipped());            }            else if (ea instanceof FindClubAction) {                resolveFindClub(entity);            }			else if (ea instanceof UnjamAction) {				resolveUnjam(entity);			}			else if (ea instanceof ClearMinefieldAction) {				clearAttempts.addElement(entity);			}        }        resolveClearMinefieldAttempts(clearAttempts);    }