/** * This goes through the AndOr tree to remove the various criterion from the BehaviorStructure. */ void resetTree() { super.resetTree(); for (int i = 0; i < conditions.length; i++) { if (conditions[i] != null) { conditions[i].resetTree(); } } }