public static int FlysEaten = 0;
// This is a constructor
public void lookForFly()
{
if ( canSee(Fly.class) )
{
eat(Fly.class);
FlysEaten++;
// This is a variable which
}
}