phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
24 lines (22 loc) • 938 B
JavaScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The File Load Complete Event.
*
* This event is dispatched by the Loader Plugin when any file in the queue finishes loading.
*
* Listen to it from a Scene using: `this.load.on('filecomplete', listener)`.
*
* You can also listen for the completion of a specific file. See the [FILE_KEY_COMPLETE]{@linkcode Phaser.Loader.Events#event:FILE_KEY_COMPLETE} event.
*
* @event Phaser.Loader.Events#FILE_COMPLETE
* @since 3.0.0
*
* @param {string} key - The key of the file that just loaded and finished processing.
* @param {string} type - The [file type]{@link Phaser.Loader.File#type} of the file that just loaded, i.e. `image`.
* @param {any} data - The raw data the file contained.
*/
module.exports = 'filecomplete';