#BlueJ class context comment0.params= comment0.target=void\ act() comment1.params=gun_side comment1.target=void\ setSide(int) comment2.params= comment2.target=int\ getSide() comment3.params=the_damage comment3.target=void\ setDamage(int) comment4.params= comment4.target=int\ getDamage() comment5.params=s comment5.target=boolean\ hit(Spaceship) comment5.text=\n\ Dummy\ hit\ function\ that\ allows\ for\ dummy\ missiles.\ Upon\ hitting\ a\ spaceship\ from\ the\ other\ side,\n\ the\ missile\ is\ destroyed.\n\ \n\ The\ missile\ itself\ doesn't\ subtract\ hit\ points\ from\ the\ spaceship,\ it's\ Spaceship.hit(Missile)\ doing\ that.\n\ This\ way\ of\ coding\ doesn't\ allow\ for\ flawfully\ programmed\ Spaceship\ subclasses,\ but\ it's\ more\ flexible.\n\ \n\ @see\ Spaceship\#hit(Missile)\n numComments=6