class Sbullet { float x; float y; int w; color col; float speed; Sbullet() { this.x = 0; this.y = -5; this.w = 2; this.col = color(255,255,40); this.speed = 7.0; } void paint() { ellipseMode(CENTER); stroke(col); fill(col); ellipse(x, y, w*20, w); } }