Exemplo n.º 1
0
 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");
 }
Exemplo n.º 2
0
 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);
 }