code: public static Animation createAnimation(XmlReader node)
      {
          Check.notNull(node);
  
          final String name = node.readString(ANIMATION_NAME);
          final int start = node.readInteger(ANIMATION_START);
          final int end = node.readInteger(ANIMATION_END);
          final double speed = node.readDouble(ANIMATION_SPEED);
          final boolean reversed = node.readBoolean(ANIMATION_REVERSED);
          final boolean repeat = node.readBoolean(ANIMATION_REPEAT);
  
          return new Animation(name, start, end, speed, reversed, repeat);
      }
docs: Create animation data from node.
  
  @param node The animation node (must not be <code>null</code>).
  @return The animation instance.
  @throws LionEngineException If error when reading animation data.