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:
Richard Davey 2018-12-08 15:02:13 +00:00 committed by GitHub
commit d70ecfca8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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.
*/

View file

@ -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.
*/