code: public void visitObjects (ObjectVisitor visitor, boolean interestingOnly)
      {
          for (Iterator<Section> iter = getSections(); iter.hasNext(); ) {
              Section sect = iter.next();
              for (ObjectInfo oinfo : sect.objectInfo) {
                  visitor.visit(oinfo);
              }
              if (!interestingOnly) {
                  for (int oo = 0; oo < sect.objectTileIds.length; oo++) {
                      ObjectInfo info = new ObjectInfo();
                      info.tileId = sect.objectTileIds[oo];
                      info.x = sect.objectXs[oo];
                      info.y = sect.objectYs[oo];
                      visitor.visit(info);
                  }
              }
          }
      }
docs: Informs the supplied visitor of each object in this scene.
  
  @param interestingOnly if true, only the interesting objects will
  be visited.