Fix getScene, getScenes return types.

This commit is contained in:
Ben Afonso 2024-11-04 12:56:55 +01:00
parent c78b3a007d
commit 2295d4c5e5
No known key found for this signature in database
GPG key ID: 4D6A371A17A97C4C
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