phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
22 lines (20 loc) • 678 B
JavaScript
/**
* @author Richard Davey <rich@phaser.io>
* @copyright 2013-2025 Phaser Studio Inc.
* @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 from a Scene using `this.events.on('addedtoscene', listener)`.
*
* @event Phaser.Scenes.Events#ADDED_TO_SCENE
* @type {string}
* @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';