/********************* * Squeebles * A sketchy by Christopher Fust * UCSC: Film 20C **********************/ //this is going to be the home for everything this is where all the draw stuff is int numSqueebles = 5; //the number of monsters squeeble[] squeebles = new squeeble[numSqueebles]; fork sharp = new fork(); //make a fork //set things up... void setup(){ size(400,400); frameRate(24); noStroke(); smooth(); noCursor(); for(int i = 0; i < numSqueebles; i++){ squeebles[i] = new squeeble(random(10,40)); } } //make things move void draw(){ background(255); //squeebles for(int i = 0; i < numSqueebles; i++){ squeebles[i].checkedges(); squeebles[i].move(); squeebles[i].updateMonster(); } //forks sharp.show(); }