The bullseye is made up of three different Circle objects. The outer has a size of 100, the middle circle has a size of 60, and the inner circle is of size 20. The largest circle's X and Y positions are both 50, and the other circles' centers line up with the outer circle. Your recipe should give names to each of the circles (like the lab did), and use those names in later steps to be specific about which circles' behaviors are being executed. For full credit, you should try to come up with the shortest sequence of steps that will create the bullseye. You may not modify the Circle class — your recipe should work with the version of the Circle class that's in the UPS_figures project we worked with in lab.
makeInvisible
calls erase()
, and moveHorizontal
calls both erase()
and draw()
. Which methods (including the constructor) in Triangle do not call other methods?
xPosition
? (We'll consider xPosition
to be changed by a method if it potentially has a different value after the method is called, so a method can change xPosition
without necessarily referring to xPosition
by name — it could call some other method that changes xPosition
, for example.) If in doubt, try it out in BlueJ: Create a Triangle and use the object inspector (double click the triangle object) to see its fields. Run a method, and see if xPosition
changes.
richards-asmt1.pdf
), and attach it to an email to me at brichards@pugetsound.edu.