////James Doyle final exam Dog[] jd=new Dog[6]; //array of dogs processing can't find Dog int many=6; //number of dogs float border; //for contraining void setup() { size(800,650); fill(Dog,many); jd[0]=new Dog(100, "Caesar"); jd[1]=new Dog(200, "Brutus"); jd[2]=new Dog(300, "Kelly"); jd[3]=new Dog(400, "Butch"); jd[4]=new Dog(500, "Rocket"); jd[5]=new Dog(600, "Pebbles"); smooth(); border=width; } void scene() { background(118,238,198); } void reset() { //initial position jd[a].x=50; } void draw() { scene(); fill(); move(); void fill(Dog[] jd, int many) { //looping dogs for(int a=0; awidth-50){ reset(); } } void keyPressed() { //spacebar moves dogs if(key==" ") { move(); } if(key=="r") { reset(); } }