class food { float x; float y; float amt; color c; food(float x_, float y_, float amt_, color c_) { x=x_; y=y_; amt=amt_; c=c_; } float getX() {return x;} void setX(float x_) {x = x_;} float getY() {return y;} void setY(float y_) {y = y_;} float getAMT() {return amt;} void setAMT(float amt_) {amt = amt_;} color getC() {return c;} void setC(color c_) {c = c_;} void render() { noStroke(); fill(c); ellipse(x,y,amt, amt); } void eaten() { x=random(10, width-10); y=random(10, height-10); c=color(random(70,255),random(50,255),random(100,255),random(75,150)); } }//End of food class