////setup void setup() { size( width, height); lollipop= new Boat("lollipop"); nemo=new Tuna ("nemo"); crabby=new Crawler("Calvin"); stinky=new Tuna("Stinky"); stinky.w= 60; stinky.h= 110; stinky.r=200; stinky.g=100; stinky.b=150; } void reset() { lollipop.restart(); nemo.restart(); crabby.restart(); ////how to make it turn around?? ////scene :sky water etc void scene() { background(200,220,250); noStroke(); fill(0,100,0); rect(0, height/4, width, height*3/4); //grass waves etc float x=20; stroke(200,200,0); strokeWeight(4); line(x, height, x, height-40); ////....too much effort //more grass.... strokeWeight(4); if(key=='g' || key==',') { while(xwidth) dx=-dx; x += dx; y += dy; } void show() { fill (255,0,0); }