dot_class
This is an old revision of the document!
Dot Class
- Dot.java
/** * * @author First Last * @version date/or date and time * */ public class Dot { private int x, y, size; private Color color; public Dot(int x, int y) { this.x = x; this.y = y; size = 10; } /** * randomInt * @param min * @param max * @return a random integer from min to max (inclusive) */ /** * randomColor * @return random Color */ /** * draw * @param The graphics object to draw itself */ }
dot_class.1663247531.txt.gz · Last modified: 2022/09/15 09:12 by frchris