public void saveChilds(XMLSaver saver) throws XMLTreeException, IOException, XMLCannotSaveException { super.saveChilds(saver); XMLArray.saveArray(spawnFreq, this, saver, "spawn-frequencies"); XMLArray.saveArray(destFreq, this, saver, "dest-frequencies"); }
public void load(XMLElement myElement, XMLLoader loader) throws XMLTreeException, IOException, XMLInvalidInputException { super.load(myElement, loader); spawnFreq = (SpawnFrequency[]) XMLArray.loadArray(this, loader); destFreq = (DestFrequency[][]) XMLArray.loadArray(this, loader); }