phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
23 lines (21 loc) • 728 B
JavaScript
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Process Queue Add Event.
*
* This event is dispatched by a Process Queue when a new item is successfully moved to its active list.
*
* You will most commonly see this used by a Scene's Update List when a new Game Object has been added.
*
* In that instance, listen to this event from within a Scene using: `this.sys.updateList.on('add', listener)`.
*
* @event Phaser.Structs.Events#PROCESS_QUEUE_ADD
* @type {string}
* @since 3.20.0
*
* @param {*} item - The item that was added to the Process Queue.
*/
module.exports = 'add';