phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
21 lines (19 loc) • 705 B
JavaScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Texture Add Event.
*
* This event is dispatched by the Texture Manager when a texture is added to it.
*
* Listen to this event from within a Scene using: `this.textures.on('addtexture', listener)`.
*
* @event Phaser.Textures.Events#ADD
* @since 3.0.0
*
* @param {string} key - The key of the Texture that was added to the Texture Manager.
* @param {Phaser.Textures.Texture} texture - A reference to the Texture that was added to the Texture Manager.
*/
module.exports = 'addtexture';