mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Docs: generic return for add.existing()
This commit is contained in:
parent
000beb2bd0
commit
f653a51cc0
2 changed files with 4 additions and 0 deletions
|
@ -112,6 +112,8 @@ var GameObjectFactory = new Class({
|
|||
* @method Phaser.GameObjects.GameObjectFactory#existing
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @generic {Phaser.GameObjects.GameObject} G - [child,$return]
|
||||
*
|
||||
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.Group)} child - The child to be added to this Scene.
|
||||
*
|
||||
* @return {Phaser.GameObjects.GameObject} The Game Object that was added.
|
||||
|
|
|
@ -101,6 +101,8 @@ var Factory = new Class({
|
|||
* @method Phaser.Physics.Arcade.Factory#existing
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @generic {Phaser.GameObjects.GameObject} G - [gameObject,$return]
|
||||
*
|
||||
* @param {Phaser.GameObjects.GameObject} gameObject - A Game Object.
|
||||
* @param {boolean} [isStatic=false] - Create a Static body (true) or Dynamic body (false).
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue