public static ProducibleConfig imports ( Xml root ) { Check . notNull ( root ) ; final Xml node = root . getChild ( NODE_PRODUCIBLE ) ; final SizeConfig size = SizeConfig . imports ( root ) ; final int time = node . readInteger ( ATT_STEPS ) ; return new ProducibleConfig ( time , size . getWidth ( ) , size . getHeight ( ) ) ; }
Create the producible data from node .