class Change { float x; float y; float x2; float y2; Change() { } // display something void display() { stroke(x,y,x2,10); fill(x,y,x2,20); ellipse(width/2,height/2,x/2 ,y-250); } void setLocation(float _x, float _y, float _x2, float _y2) { x=_x; y=_y; x2=_x2; y2=_y2; } }