signorinoalessia_cart253/exercises/exercise05_as/exercise05_as.pde
//Creature
//By: Alessia Signorino

//A creature that is trapped within the boundaries of the screen
//It breathes and moves organically via floats (looks as if it it moves closer and further)

int x;
int y;

Creature[] creatures = new Creature[5];

void setup() {
  size(500, 500);
  frameRate(50);

  for (int i=0; i < creatures.length; i++) {
    creatures[i] = new Creature();
  }
}

void draw() {
  background(0);

  for (int i=0; i < creatures.length; i++) {
    creatures[i].display();
  }
}