Line 5 doesn't do anything, 'bodywidth' is never used.
lilly Rankine wrote:
lilly Rankine wrote:It compiles in BlueJ and I cant change that. I just need to add to it and have no clue how.. if(this.body =(OUColour.RED()); is what I have started with but its wrong
Knute Snortum wrote:Does this.body have setColour() and getColour() methods? How would you use these to flip the color?