private void RegisterOrgans() { XmlProcessor xml = new XmlProcessor("Text/OrganList"); string node; while (!xml.IsDone()) { node = xml.getNextNode(); switch (node) { case "OrganSegmentNode": readOrganSegmentNode(xml); break; case "OrganLimbNode": readOrganLimbNode(xml); break; case "OrganAppendageNode": readOrganAppendageNode(xml); break; default: break; } } }
private void RegisterDefaultSpecies() { XmlProcessor xml = new XmlProcessor("Text/SpeciesList"); while (!xml.IsDone()) { xml.getNextNode(); ReadSpeciesNode(xml); } }