if( XMLObject.xMLGetMode() ) {
for( XMLObject spriteXMLObject: xMLObject.children ) insertSprite( (Sprite) spriteXMLObject.manageObject( null ), true, true );
} else {
for( Sprite sprite: sprites ) {
XMLObject newXMLObject = new XMLObject();
newXMLObject.manageObject( sprite );
xMLObject.children.addLast( newXMLObject );
}
}
}