Allow object param type for Arcade group Factory

This commit is contained in:
Thomas Tan 2018-05-22 10:15:42 +08:00
parent 806b5981b0
commit 8124ba9b86
No known key found for this signature in database
GPG key ID: A040BC34D269C351

View file

@ -220,7 +220,7 @@ var Factory = new Class({
* @method Phaser.Physics.Arcade.Factory#staticGroup
* @since 3.0.0
*
* @param {array} [children] - [description]
* @param {object|object[]} [children] - [description]
* @param {GroupConfig} [config] - [description]
*
* @return {Phaser.Physics.Arcade.StaticGroup} The Static Group object that was created.
@ -237,7 +237,7 @@ var Factory = new Class({
* @method Phaser.Physics.Arcade.Factory#group
* @since 3.0.0
*
* @param {array} [children] - [description]
* @param {object|object[]} [children] - [description]
* @param {PhysicsGroupConfig} [config] - [description]
*
* @return {Phaser.Physics.Arcade.Group} The Group object that was created.