Skip to content

Commit 052e504

Browse files
committed
jsdoc fix.
1 parent df16970 commit 052e504

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/gameobjects/GameObjectCreator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,12 @@ Phaser.GameObjectCreator.prototype = {
7878
* A Group is a container for display objects that allows for fast pooling, recycling and collision checks.
7979
*
8080
* @method Phaser.GameObjectCreator#group
81+
* @param {any} parent - The parent Group or DisplayObjectContainer that will hold this group, if any.
8182
* @param {string} [name='group'] - A name for this Group. Not used internally but useful for debugging.
8283
* @param {boolean} [addToStage=false] - If set to true this Group will be added directly to the Game.Stage instead of Game.World.
8384
* @param {boolean} [enableBody=false] - If true all Sprites created with `Group.create` or `Group.createMulitple` will have a physics body created on them. Change the body type with physicsBodyType.
8485
* @param {number} [physicsBodyType=0] - If enableBody is true this is the type of physics body that is created on new Sprites. Phaser.Physics.ARCADE, Phaser.Physics.P2, Phaser.Physics.NINJA, etc.
85-
* @return {Phaser.Group} The newly created group.
86+
* @return {Phaser.Group} The newly created Group.
8687
*/
8788
group: function (parent, name, addToStage, enableBody, physicsBodyType) {
8889

0 commit comments

Comments
 (0)