/** * The method sets the propulsion yield of the projectile. * * @param worm The worm who has the weapon equipped. * @post The new yield of the projectile is set. | new.getYield()==worm.getPropulsionYield() */ @Raw private void setYield(Worm worm) { this.yield = worm.getPropulsionYield(); }