Skip to content

Commit d70ecfc

Browse files
authored
Merge pull request phaserjs#4215 from snowbillr/update-group-creator-and-factory-param-type
update type param for group factory and creator methods
2 parents 84bf2e5 + df9365c commit d70ecfc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/group/GroupCreator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var Group = require('./Group');
1515
* @method Phaser.GameObjects.GameObjectCreator#group
1616
* @since 3.0.0
1717
*
18-
* @param {GroupConfig} config - The configuration object this Game Object will use to create itself.
18+
* @param {GroupConfig|GroupCreateConfig} config - The configuration object this Game Object will use to create itself.
1919
*
2020
* @return {Phaser.GameObjects.Group} The Game Object that was created.
2121
*/

src/gameobjects/group/GroupFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var GameObjectFactory = require('../GameObjectFactory');
1616
* @since 3.0.0
1717
*
1818
* @param {(Phaser.GameObjects.GameObject[]|GroupConfig|GroupConfig[])} [children] - Game Objects to add to this Group; or the `config` argument.
19-
* @param {GroupConfig} [config] - A Group Configuration object.
19+
* @param {GroupConfig|GroupCreateConfig} [config] - A Group Configuration object.
2020
*
2121
* @return {Phaser.GameObjects.Group} The Game Object that was created.
2222
*/

0 commit comments

Comments
 (0)