Exemple #1
0
 public SequenceTracker(SequenceSpec spec) {
   subObjectives = new ArrayList<ObjectiveTracker>();
   for (ObjectiveSpec os : spec.getObjective()) {
     subObjectives.add(makeObjectiveTracker(os));
   }
   current = 0;
   accomplished = false;
 }
Exemple #2
0
 /* observation support (needed for display) */
 public void addObserver(EnvironmentObserver o) {
   observers.add(o);
 }