Merge pull request #6938 from BenAfonso/master

Fix getScene, getScenes return types.
This commit is contained in:
Richard Davey 2024-11-13 22:26:06 +00:00 committed by GitHub
commit fd7a6ae780
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -847,6 +847,7 @@ var SceneManager = new Class({
* @since 3.16.0
*
* @generic {Phaser.Scene[]} T - [$return]
* @genericUse {T} - [$return]
*
* @param {boolean} [isActive=true] - Only include Scene's that are currently active?
* @param {boolean} [inReverse=false] - Return the array of Scenes in reverse?
@ -885,6 +886,7 @@ var SceneManager = new Class({
*
* @generic {Phaser.Scene} T
* @genericUse {(T|string)} - [key]
* @genericUse {T} - [$return]
*
* @param {(string|Phaser.Scene)} key - The key of the Scene to retrieve.
*

View file

@ -1022,6 +1022,7 @@ var ScenePlugin = new Class({
*
* @generic {Phaser.Scene} T
* @genericUse {(T|string)} - [key]
* @genericUse {T} - [$return]
*
* @method Phaser.Scenes.ScenePlugin#get
* @since 3.0.0