Namespace: Events

Phaser.Structs. Events

Events


PROCESS_QUEUE_ADD

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).

Parameters:
Name Type Description
item *

The item that was added to the Process Queue.

Since: 3.20.0
Source: src/structs/events/PROCESS_QUEUE_ADD_EVENT.js (Line 7)

PROCESS_QUEUE_REMOVE

The Process Queue Remove Event.

This event is dispatched by a Process Queue when a new item is successfully removed from its active list.

You will most commonly see this used by a Scene's Update List when a Game Object has been removed.

In that instance, listen to this event from within a Scene using: this.sys.updateList.on('remove', listener).

Parameters:
Name Type Description
item *

The item that was removed from the Process Queue.

Since: 3.20.0
Source: src/structs/events/PROCESS_QUEUE_REMOVE_EVENT.js (Line 7)