code: public static void exports(Xml root, Animation animation)
      {
          Check.notNull(root);
          Check.notNull(animation);
  
          final Xml node = root.createChild(ANIMATION);
          node.writeString(ANIMATION_NAME, animation.getName());
          node.writeInteger(ANIMATION_START, animation.getFirst());
          node.writeInteger(ANIMATION_END, animation.getLast());
          node.writeDouble(ANIMATION_SPEED, animation.getSpeed());
          node.writeBoolean(ANIMATION_REVERSED, animation.hasReverse());
          node.writeBoolean(ANIMATION_REPEAT, animation.hasRepeat());
      }
docs: Create an XML node from an animation.
  
  @param root The node root (must not be <code>null</code>).
  @param animation The animation reference (must not be <code>null</code>).
  @throws LionEngineException If error on writing.