xxxxxxxxxx
fish f1;
fish f2;
fish f3;
fish f4;
int score;
void setup(){
size(500,500);
colorMode(HSB,360,100,100);
f1 = new fish(0,150,2);
f2 = new fish(0,200,4);
f3 = new fish(0,350,3);
f4 = new fish(0,400,5);
}
void draw(){
background(200,100,100);
f1.display();
f1.move();
f2.display();
f2.move();
f3.display();
f3.move();
f4.display();
f4.move();
fill(0,0,100);
textSize(15);
text("Number of Dead Fishies: "+score,160,50);
}