mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 17:16:03 +00:00
15 lines
611 B
TypeScript
15 lines
611 B
TypeScript
/**
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
* @copyright 2016 Photon Storm Ltd.
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
*/
|
|
/**
|
|
* Parses a JSON Array and extracts the frame data from it.
|
|
*
|
|
* @class Phaser.TextureParser.JSONArray
|
|
* @static
|
|
* @param {Phaser.Texture} texture - The parent Texture.
|
|
* @param {object} json - The JSON data from the Texture Atlas. Must be in Array format.
|
|
* @return {Phaser.FrameData} A FrameData object containing the parsed frames.
|
|
*/
|
|
export default function (texture: any, sourceIndex: any, json: any): any;
|