// get the mechanisms object
Element eMechanisms = worldConfig.getChild("mechanisms");
if (eMechanisms == null) worldConfig.addContent(eMechanisms = new Element("mechanisms"));
// reset the mechanisms to whatever has been saved
eMechanisms.removeContent();
for (StartMechanism mech : this.startMechanisms)
eMechanisms.addContent(mech.toElement());
Element eGameplay = worldConfig.getChild("gameplay");
if (eGameplay == null) worldConfig.addContent(eGameplay = new Element("gameplay"));