public void ReplaceGoal(Goal g) { goals.Pop(); PushGoal(g); }
public void PushGoal(Goal g) { goals.Push(g); g.MakePlan(this); }