public void addWeapon(Mounted w){
  weapons.add(w);
  fireIntervalAdded(this,weapons.size() - 1,weapons.size() - 1);
}

public void addWeapon ( Mounted w ) { weapons . add ( w ) ; fireIntervalAdded ( this , weapons . size ( ) - 1 , weapons . size ( ) - 1 ) ; }
add a new weapon to the list .
