class Bullet { float x; float y; int w; color col; float speed; Bullet() { this.x = 0; this.y = -5; this.w = 20; this.col = color(255,255,40); this.speed = 5.0; } void paint() { ellipseMode(CENTER); stroke(col); fill(col); ellipse(x, y, w/15, w); } }