Hey guys, when I tried to run my code, the bubbles do not appear in the window of the fish tank, how could I make the bubbles to appear in my window? Thank you
In the main function you should call setupBubbles(numBubbles). The output will be a list of bubbles, so you need to use for loop to go through each bubble in the list and then draw it.
Did you draw the fish in the main function?
You need to create a draw function in your bubbles class and call the draw function later in your setupBubbles(numBubbles) function.