UNPKG

arcade-physics

Version:
16 lines 709 B
export = ParseTileLayers; /** * Parses all tilemap layers in an Impact JSON object into new LayerData objects. * * @function Phaser.Tilemaps.Parsers.Impact.ParseTileLayers * @since 3.0.0 * * @param {object} json - The Impact JSON object. * @param {boolean} insertNull - Controls how empty tiles, tiles with an index of -1, in the map * data are handled (see {@link Phaser.Tilemaps.Parsers.Tiled.ParseJSONTiled}). * * @return {Phaser.Tilemaps.LayerData[]} - An array of LayerData objects, one for each entry in * json.layers with the type 'tilelayer'. */ declare function ParseTileLayers(json: object, insertNull: boolean): Phaser.Tilemaps.LayerData[]; //# sourceMappingURL=ParseTileLayers.d.ts.map