2020-08-24 18:10:50 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
2023-01-02 17:36:27 +00:00
|
|
|
* @copyright 2013-2023 Photon Storm Ltd.
|
2020-08-24 18:10:50 +00:00
|
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The Game Object Added to Scene Event.
|
|
|
|
*
|
|
|
|
* This event is dispatched when a Game Object is added to a Scene.
|
|
|
|
*
|
|
|
|
* Listen for it on a Game Object instance using `GameObject.on('addedtoscene', listener)`.
|
|
|
|
*
|
|
|
|
* @event Phaser.GameObjects.Events#ADDED_TO_SCENE
|
2022-09-21 21:01:03 +00:00
|
|
|
* @type {string}
|
2020-08-24 18:10:50 +00:00
|
|
|
* @since 3.50.0
|
|
|
|
*
|
|
|
|
* @param {Phaser.GameObjects.GameObject} gameObject - The Game Object that was added to the Scene.
|
|
|
|
* @param {Phaser.Scene} scene - The Scene to which the Game Object was added.
|
|
|
|
*/
|
|
|
|
module.exports = 'addedtoscene';
|