code: public static CollisionFormula createCollision(Xml node)
      {
          Check.notNull(node);
  
          final String name = node.readString(ATT_NAME);
          final CollisionRange range = CollisionRangeConfig.imports(node.getChild(CollisionRangeConfig.NODE_RANGE));
          final CollisionFunction function = CollisionFunctionConfig.imports(node);
          final CollisionConstraint constraint = CollisionConstraintConfig.imports(node);
  
          return new CollisionFormula(name, range, function, constraint);
      }
docs: Create a collision formula from its node.
  
  @param node The collision formula node (must not be <code>null</code>).
  @return The tile collision formula instance.
  @throws LionEngineException If error when reading data.