Make Layer extend event emitter in the docs

This commit is contained in:
Richard Davey 2024-08-29 14:05:17 +01:00
parent 378838a011
commit c86b5b2528

View file

@ -72,6 +72,7 @@ var StableSort = require('../../utils/array/StableSort');
* @extends Phaser.GameObjects.Components.Mask * @extends Phaser.GameObjects.Components.Mask
* @extends Phaser.GameObjects.Components.PostPipeline * @extends Phaser.GameObjects.Components.PostPipeline
* @extends Phaser.GameObjects.Components.Visible * @extends Phaser.GameObjects.Components.Visible
* @extends Phaser.Events.EventEmitter
* *
* @param {Phaser.Scene} scene - The Scene to which this Game Object belongs. A Game Object can only belong to one Scene at a time. * @param {Phaser.Scene} scene - The Scene to which this Game Object belongs. A Game Object can only belong to one Scene at a time.
* @param {Phaser.GameObjects.GameObject[]} [children] - An optional array of Game Objects to add to this Layer. * @param {Phaser.GameObjects.GameObject[]} [children] - An optional array of Game Objects to add to this Layer.