for (Enumeration i = getWeapons(); i.hasMoreElements();) { Mounted mounted = (Mounted)i.nextElement();
for(Mounted mounted : getWeaponList()) {
    public boolean isEligibleForOffboard() {                // if you're charging, no shooting        if (isUnjammingRAC()            || isCharging()            || isMakingDfa()) {            return false;        }        // if you're offboard, no shooting        if (isOffBoard() || isAssaultDropInProgress()) {            return false;        }        for (Enumeration i = getWeapons(); i.hasMoreElements();) {              Mounted mounted = (Mounted)i.nextElement();              WeaponType wtype = (WeaponType)mounted.getType();              if (wtype.hasFlag(WeaponType.F_TAG) && mounted.isReady()) {                  return true;              }          }        return false;//only things w/ tag are    }