/* Answer these questions 1) Why are x and y initialized but not h & w 2) Why do we need this.h = h, but not w = wid? 3) Do you think the constructor makes sense as written, why or why not? 4) Move only moves by one pixel, modify it to take a a paramenter from the constructor. 5) Write a method to change the speed of the circle, including negative speed. */ class Circle { int x = (int) random(0,width); int y = (int) random(0,height); int h; int w; int dir = 1; Rectangle r = new Rectangle(20,30); Circle(int h, int wid) { this.h = h; w = wid; r.x = x+5; r.y = y; } void draw() { ellipse(x,y,w,h); r.draw(); } void move() { if ( x < 0 || x > width) dir = -1*dir; x = x + dir; r.move(x); } }