if you have a counter how to you make an actor enact a method when the counter gets to a sertan # like 70.
  
  
            private int leavesEaten;
public Wombat()
{
    leavesEaten = 0;
}
leavesEaten = leavesEaten + 1;
public int getLeavesEaten()
{
    return leavesEaten;
}if (leavesEaten == 70) winner();
// instance field
Counter counter = new Counter("Leaves eaten: ");
// add the following method
public void addedToWorld(World world)
{
    world.addObject(counter, 80, 20);
}
// after 'leavesEaten = leavesEaten + 1;'
// and before 'if (leavesEaten == 70)'
// add this one line
counter.setValue(leavesEaten);