#BlueJ class context comment0.params= comment0.target=void\ act() comment1.params=ship comment1.target=boolean\ hit(ManuallyControlledSpaceship) comment2.params=ship\ new_n_guns comment2.target=void\ setNumberOfGuns(ManuallyControlledSpaceship,\ int) comment2.text=\n\ Set\ the\ number\ of\ guns\ for\ a\ spaceship.\ If\ new_n_guns\ is\ greater\ than\ the\ current\ number\ of\ guns,\n\ copy\ the\ ship's\ first\ gun\ and\ add\ the\ copies.\n\ \n\ @param\ ship\:\ guess\ what\n\ @param\ new_n_guns\:\ number\ of\ guns\ to\ set\n numComments=3