ADD
Description: The Cache Add Event.
This event is dispatched by any Cache that extends the BaseCache each time a new object is added to it.
name | type | optional | description |
---|---|---|---|
cache | No | The cache to which the object was added. | |
key | string | No | The key of the object added to the cache. |
object | * | No | A reference to the object that was added to the cache. |
Member of: Phaser.Cache.Events
Source: src/cache/events/ADD_EVENT.js#L7
Since: 3.0.0
REMOVE
Description: The Cache Remove Event.
This event is dispatched by any Cache that extends the BaseCache each time an object is removed from it.
name | type | optional | description |
---|---|---|---|
cache | No | The cache from which the object was removed. | |
key | string | No | The key of the object removed from the cache. |
object | * | No | A reference to the object that was removed from the cache. |
Member of: Phaser.Cache.Events
Source: src/cache/events/REMOVE_EVENT.js#L7
Since: 3.0.0