public static TileSheetsConfig imports(Media configSheets)
    {
        final Xml nodeSheets = new Xml(configSheets);

        final Xml nodeTileSize = nodeSheets.getChild(NODE_TILE_SIZE);
        final int tileWidth = nodeTileSize.readInteger(ATT_TILE_WIDTH);
        final int tileHeight = nodeTileSize.readInteger(ATT_TILE_HEIGHT);

        final Collection<String> sheets = importSheets(nodeSheets);

        return new TileSheetsConfig(tileWidth, tileHeight, sheets);
    }
public static TileSheetsConfig imports ( Media configSheets ) { final Xml nodeSheets = new Xml ( configSheets ) ; final Xml nodeTileSize = nodeSheets . getChild ( NODE_TILE_SIZE ) ; final int tileWidth = nodeTileSize . readInteger ( ATT_TILE_WIDTH ) ; final int tileHeight = nodeTileSize . readInteger ( ATT_TILE_HEIGHT ) ; final Collection < String > sheets = importSheets ( nodeSheets ) ; return new TileSheetsConfig ( tileWidth , tileHeight , sheets ) ; }
Import the sheets data from configuration.

@param configSheets The file that define the sheets configuration (must not be <code>null</code>).
@return The tile sheet configuration.
@throws LionEngineException If unable to read data.