A single Multi Texture Atlas File suitable for loading by the Loader.
These are created when you use the Phaser.Loader.LoaderPlugin#multiatlas method and are not typically created directly.
For documentation about what all the arguments and configuration options mean please see Phaser.Loader.LoaderPlugin#multiatlas.
new MultiAtlasFile(loader, key, [atlasURL], [path], [baseURL], [atlasXhrSettings], [textureXhrSettings])
A reference to the Loader that is responsible for this file.
|key||string | Phaser.Types.Loader.FileTypes.MultiAtlasFileConfig||
The key of the file. Must be unique within both the Loader and the Texture Manager. Or a config object.
The absolute or relative URL to load the multi atlas json file from.
Optional path to use when loading the textures defined in the atlas data.
Optional Base URL to use when loading the textures defined in the atlas data.
Extra XHR Settings specifically for the atlas json file.
Extra XHR Settings specifically for the texture files.
A reference to the Loaders baseURL at the time this MultiFile was created. Used to populate child-files.
The completion status of this MultiFile.
A storage container for transient data that the loading files need.
The number of files that failed to load.
Array of files that make up this MultiFile.
Unique cache key (unique within its file type)
A reference to the Loader that is going to load this file.
The current index being used by multi-file loaders to avoid key clashes.
A reference to the Loaders path at the time this MultiFile was created. Used to populate child-files.
The number of files to load.
A reference to the Loaders prefix at the time this MultiFile was created. Used to populate child-files.
The file type string for sorting within the Loader.
Adds this file to its target cache upon successful loading and processing.
Adds another child to this MultiFile, increases the pending count and resets the completion status.
The File to add to this MultiFile.
This MultiFile instance.
Checks if this MultiFile is ready to process its children or not.
true if all children of this MultiFile have loaded, otherwise
Called by each File when it finishes loading.
The File that has completed processing.