/** * Draws this particle to standard draw. */ public void draw() { StdDraw.setPenColor(color); StdDraw.filledCircle(rx, ry, radius); }
public virtual void draw() { StdDraw.setPenColor(this.color); StdDraw.filledCircle(this.rx, this.ry, this.radius); }