phaser/src/loader/events/START_EVENT.js
2020-01-15 12:07:09 +00:00

21 lines
671 B
JavaScript

/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Loader Plugin Start Event.
*
* This event is dispatched when the Loader starts running. At this point load progress is zero.
*
* This event is dispatched even if there aren't any files in the load queue.
*
* Listen to it from a Scene using: `this.load.on('start', listener)`.
*
* @event Phaser.Loader.Events#START
* @since 3.0.0
*
* @param {Phaser.Loader.LoaderPlugin} loader - A reference to the Loader Plugin that dispatched this event.
*/
module.exports = 'start';