public static AnimationConfig imports(Xml root)
    {
        Check.notNull(root);

        final Map<String, Animation> animations = new HashMap<>(0);

        for (final Xml node : root.getChildren(ANIMATION))
        {
            final String anim = node.readString(ANIMATION_NAME);
            final Animation animation = createAnimation(node);
            animations.put(anim, animation);
        }

        return new AnimationConfig(animations);
    }
public static AnimationConfig imports ( Xml root ) { Check . notNull ( root ) ; final Map < String , Animation > animations = new HashMap < > ( 0 ) ; for ( final Xml node : root . getChildren ( ANIMATION ) ) { final String anim = node . readString ( ANIMATION_NAME ) ; final Animation animation = createAnimation ( node ) ; animations . put ( anim , animation ) ; } return new AnimationConfig ( animations ) ; }
Create the animation data from configurer.

@param root The root reference (must not be <code>null</code>).
@return The animations configuration instance.
@throws LionEngineException If unable to read data.