UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.

21 lines (19 loc) 705 B
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Game Object Removed from Scene Event. * * This event is dispatched when a Game Object is removed from a Scene. * * Listen for it on a Game Object instance using `GameObject.on('removedfromscene', listener)`. * * @event Phaser.GameObjects.Events#REMOVED_FROM_SCENE * @since 3.50.0 * * @param {Phaser.GameObjects.GameObject} gameObject - The Game Object that was removed from the Scene. * @param {Phaser.Scene} scene - The Scene from which the Game Object was removed. */ module.exports = 'removedfromscene';