public void clearBombs(){
  bombList.clear();
  for (Iterator<Mounted> i=equipmentList.iterator(); i.hasNext(); ) {
    Mounted m=i.next();
    if ((m.getType() instanceof BombType) || (m.getType() instanceof DiveBombAttack) || (m.getType() instanceof SpaceBombAttack)|| (m.getType() instanceof AltitudeBombAttack)|| (m.getType() instanceof ISAAAMissileWeapon)|| (m.getType() instanceof CLAAAMissileWeapon)|| (m.getType() instanceof ASMissileWeapon)|| (m.getType() instanceof ASEWMissileWeapon)|| (m.getType() instanceof ISLAAMissileWeapon)|| (m.getType() instanceof CLLAAMissileWeapon)|| (m.getType() instanceof BombArrowIV)|| (m.getType() instanceof BombTAG)|| (m.getType() instanceof BombISRL10)|| (m.getType() instanceof AlamoMissileWeapon)) {
      i.remove();
    }
  }
  for (Iterator<Mounted> i=weaponList.iterator(); i.hasNext(); ) {
    Mounted m=i.next();
    if ((m.getType() instanceof DiveBombAttack) || (m.getType() instanceof SpaceBombAttack) || (m.getType() instanceof AltitudeBombAttack)|| (m.getType() instanceof ISAAAMissileWeapon)|| (m.getType() instanceof CLAAAMissileWeapon)|| (m.getType() instanceof ASMissileWeapon)|| (m.getType() instanceof ASEWMissileWeapon)|| (m.getType() instanceof ISLAAMissileWeapon)|| (m.getType() instanceof CLLAAMissileWeapon)|| (m.getType() instanceof BombArrowIV)|| (m.getType() instanceof BombTAG)|| (m.getType() instanceof BombISRL10)|| (m.getType() instanceof AlamoMissileWeapon)) {
      i.remove();
    }
  }
  for (Iterator<Mounted> i=ammoList.iterator(); i.hasNext(); ) {
    Mounted m=i.next();
    if (m.getType() instanceof BombType) {
      i.remove();
    }
  }
}

public void clearBombs ( ) { bombList . clear ( ) ; for ( Iterator < Mounted > i = equipmentList . iterator ( ) ; i . hasNext ( ) ; ) { Mounted m = i . next ( ) ; if ( ( m . getType ( ) instanceof BombType ) || ( m . getType ( ) instanceof DiveBombAttack ) || ( m . getType ( ) instanceof SpaceBombAttack ) || ( m . getType ( ) instanceof AltitudeBombAttack ) || ( m . getType ( ) instanceof ISAAAMissileWeapon ) || ( m . getType ( ) instanceof CLAAAMissileWeapon ) || ( m . getType ( ) instanceof ASMissileWeapon ) || ( m . getType ( ) instanceof ASEWMissileWeapon ) || ( m . getType ( ) instanceof ISLAAMissileWeapon ) || ( m . getType ( ) instanceof CLLAAMissileWeapon ) || ( m . getType ( ) instanceof BombArrowIV ) || ( m . getType ( ) instanceof BombTAG ) || ( m . getType ( ) instanceof BombISRL10 ) || ( m . getType ( ) instanceof AlamoMissileWeapon ) ) { i . remove ( ) ; } } for ( Iterator < Mounted > i = weaponList . iterator ( ) ; i . hasNext ( ) ; ) { Mounted m = i . next ( ) ; if ( ( m . getType ( ) instanceof DiveBombAttack ) || ( m . getType ( ) instanceof SpaceBombAttack ) || ( m . getType ( ) instanceof AltitudeBombAttack ) || ( m . getType ( ) instanceof ISAAAMissileWeapon ) || ( m . getType ( ) instanceof CLAAAMissileWeapon ) || ( m . getType ( ) instanceof ASMissileWeapon ) || ( m . getType ( ) instanceof ASEWMissileWeapon ) || ( m . getType ( ) instanceof ISLAAMissileWeapon ) || ( m . getType ( ) instanceof CLLAAMissileWeapon ) || ( m . getType ( ) instanceof BombArrowIV ) || ( m . getType ( ) instanceof BombTAG ) || ( m . getType ( ) instanceof BombISRL10 ) || ( m . getType ( ) instanceof AlamoMissileWeapon ) ) { i . remove ( ) ; } } for ( Iterator < Mounted > i = ammoList . iterator ( ) ; i . hasNext ( ) ; ) { Mounted m = i . next ( ) ; if ( m . getType ( ) instanceof BombType ) { i . remove ( ) ; } } }
clear all bombs and bomb attacks
