public static LauncherConfig imports(Xml node)
    {
        Check.notNull(node);

        final Collection<Xml> children = node.getChildren(LaunchableConfig.NODE_LAUNCHABLE);
        final Collection<LaunchableConfig> launchables = new ArrayList<>(children.size());

        for (final Xml launchable : children)
        {
            launchables.add(LaunchableConfig.imports(launchable));
        }

        final int level = node.readInteger(0, ATT_RATE);
        final int rate = node.readInteger(ATT_RATE);

        return new LauncherConfig(level, rate, launchables);
    }
public static LauncherConfig imports ( Xml node ) { Check . notNull ( node ) ; final Collection < Xml > children = node . getChildren ( LaunchableConfig . NODE_LAUNCHABLE ) ; final Collection < LaunchableConfig > launchables = new ArrayList < > ( children . size ( ) ) ; for ( final Xml launchable : children ) { launchables . add ( LaunchableConfig . imports ( launchable ) ) ; } final int level = node . readInteger ( 0 , ATT_RATE ) ; final int rate = node . readInteger ( ATT_RATE ) ; return new LauncherConfig ( level , rate , launchables ) ; }
Import the launcher data from node.

@param node The node reference (must not be <code>null</code>).
@return The launcher data.
@throws LionEngineException If unable to read node.