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) • 665 B
JavaScript
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Cache Add Event.
*
* This event is dispatched by any Cache that extends the BaseCache each time a new object is added to it.
*
* @event Phaser.Cache.Events#ADD
* @type {string}
* @since 3.0.0
*
* @param {Phaser.Cache.BaseCache} cache - The cache to which the object was added.
* @param {string} key - The key of the object added to the cache.
* @param {*} object - A reference to the object that was added to the cache.
*/
module.exports = 'add';