The Loader that is going to load this File.
The file type string for sorting within the Loader.
The key of the file within the loader.
An array of Files that make-up this MultiFile.
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.
A reference to the Loaders path at the time this MultiFile was created. Used to populate child-files.
The number of child files still pending completion. Starts at the total number of child files and is decremented each time a child file finishes loading. When it reaches zero, all children have finished and the MultiFile may be processed.
A reference to the Loaders prefix at the time this MultiFile was created. Used to populate child-files.
The current state of the file. One of the FILE_CONST values.
The file type string for sorting within the Loader.
Destroy this Multi File and any references it holds.
Checks if this MultiFile is ready to process its children or not.undefined
true if all children of this MultiFile have loaded, otherwise false.
Called by each File when it finishes loading.
The File that has completed processing.
Called by each File that fails to load.
The File that has failed to load.
Called once all children of this MultiFile have been added to their caches and the MultiFile is now ready for deletion from the Loader.
It will emit a filecomplete event from the LoaderPlugin.
A MultiFile is a composite file that groups two or more individual File objects as children and coordinates their loading and processing as a single unit. When all child files have loaded, the MultiFile's
addToCachemethod is called to combine the results (e.g., associating a texture image with its JSON atlas data). It is commonly extended as a base class for file types such as AtlasJSON, BitmapFont, and AudioSprite. You should not create an instance directly, but extend it and overrideaddToCache.