Define a Rectangle object at the x,y location and size you want it to be using a new statement, assign it to a variable and return the variable (or return what was created by the new statement...
Type: Posts; User: Norm
Define a Rectangle object at the x,y location and size you want it to be using a new statement, assign it to a variable and return the variable (or return what was created by the new statement...
The paintmainball method does not change the values of any variables. What variables control the balls location? Where are those variables changed?
Where does the code change the location of the ball?