mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
20 lines
720 B
JavaScript
20 lines
720 B
JavaScript
|
/**
|
||
|
* @author Richard Davey <rich@photonstorm.com>
|
||
|
* @copyright 2019 Photon Storm Ltd.
|
||
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* The Texture Load Error Event.
|
||
|
*
|
||
|
* This event is dispatched by the Texture Manager when a texture it requested to load failed.
|
||
|
* This only happens when base64 encoded textures fail. All other texture types are loaded via the Loader Plugin.
|
||
|
*
|
||
|
* Listen to this event from within a Scene using: `this.textures.on('onerror', listener)`.
|
||
|
*
|
||
|
* @event Phaser.Textures.Events#ERROR
|
||
|
*
|
||
|
* @param {string} key - The key of the Texture that failed to load into the Texture Manager.
|
||
|
*/
|
||
|
module.exports = 'onerror';
|