I'm new at this can anyone help?
public class eaterOfLeaves extends Actor
{
//you can put your variable to keep track of leaves eaten(it would be an instance variable) right below:
private int numOfLeavesEaten
//the rest of your class
}