mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Merge pull request #4215 from snowbillr/update-group-creator-and-factory-param-type
update type param for group factory and creator methods
This commit is contained in:
commit
d70ecfca8c
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ var Group = require('./Group');
|
|||
* @method Phaser.GameObjects.GameObjectCreator#group
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {GroupConfig} config - The configuration object this Game Object will use to create itself.
|
||||
* @param {GroupConfig|GroupCreateConfig} config - The configuration object this Game Object will use to create itself.
|
||||
*
|
||||
* @return {Phaser.GameObjects.Group} The Game Object that was created.
|
||||
*/
|
||||
|
|
|
@ -16,7 +16,7 @@ var GameObjectFactory = require('../GameObjectFactory');
|
|||
* @since 3.0.0
|
||||
*
|
||||
* @param {(Phaser.GameObjects.GameObject[]|GroupConfig|GroupConfig[])} [children] - Game Objects to add to this Group; or the `config` argument.
|
||||
* @param {GroupConfig} [config] - A Group Configuration object.
|
||||
* @param {GroupConfig|GroupCreateConfig} [config] - A Group Configuration object.
|
||||
*
|
||||
* @return {Phaser.GameObjects.Group} The Game Object that was created.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue