UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

21 lines (19 loc) 621 B
/** * @author samme * @copyright 2013-2025 Phaser Studio Inc. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Texture Add Key Event. * * This event is dispatched by the Texture Manager when a texture with the given key is added to it. * * Listen to this event from within a Scene using: `this.textures.on('addtexture-key', listener)`. * * @event Phaser.Textures.Events#ADD_KEY * @type {string} * @since 3.60.0 * * @param {Phaser.Textures.Texture} texture - A reference to the Texture that was added to the Texture Manager. */ module.exports = 'addtexture-';