//creates the boxy object to be drawn later: class ObjC { //declares it's going to use the object myPoint based on the class Points Points myPoint; //constructor - creates the relevant point for the boxes to draw: ObjC (Points _myPoint) { myPoint = _myPoint; } //display - defines the function that will draw the boxes acording to the points void display() { //stroke(50,0,255); fill(50,90,150); noStroke(); //noFill(); //shape: ellipse(0,0,11,11); fill(255,255,255); textFont(font, 10); text("C", -3, 4); //distance between objects: d=10; noStroke(); } }