Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- import acm.graphics.*;
- public class GBall extends GOval {
- public GBall(int width, int height, Color color) {
- super(width, height);
- setFilled(true);
- setFillColor(color);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement