class ball { float x, y; char letter; ball(float px, float py, char pletter) { x = px; y = py; letter = pletter; } void display() { fill(0, 255, 255); ellipse(x, y, 50, 50); fill(0); textSize(30); text(letter, x-10, y+10); } void fall(float speed) { y = y + speed; if (y>height-25) y = 80; } void moveTop() { y = 80; } }