final Complex complex = new Complex(game);
final FactoryFactory factoryFactory = game.getFactoryFactory();
final SectorFactory sectorFactory = game.getSectorFactory();
final WareFactory wareFactory = game.getWareFactory();
final SunFactory sunsFactory = game.getSunFactory();
complex.setSuns(sunsFactory.getSun(Integer.parseInt(root
.attributeValue("suns"))));
complex.setSector(sectorFactory
.getSector(root.attributeValue("sector")));
complex.setAddBaseComplex(Boolean.parseBoolean(root.attributeValue(
"addBaseComplex", "false")));