protected void parseChildren(XMLElement graphics) {
    XMLElement[] elements = graphics.getChildren();
    children = new PShape[elements.length];
    childCount = 0;

    for (XMLElement elem : elements) {
      PShape kid = parseChild(elem);
      if (kid != null) {
        addChild(kid);
      }
    }
  }