Skip to content

Commit 8833a50

Browse files
committed
jsdoc fix.
1 parent 41906c5 commit 8833a50

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/Group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Phaser.Group = function (game, parent, name, addToStage, enableBody, physicsBody
156156
/**
157157
* If {@link #enableBody} is true this is the type of physics body that is created on new Sprites.
158158
*
159-
* The valid values are {@link Phaser.Physics.ARCADE}, {@link Phaser.Physics.P2}, {@link Phaser.Physics.NINJA}, etc.
159+
* The valid values are {@link Phaser.Physics.ARCADE}, {@link Phaser.Physics.P2JS}, {@link Phaser.Physics.NINJA}, etc.
160160
* @property {integer} physicsBodyType
161161
*/
162162
this.physicsBodyType = physicsBodyType;

src/gameobjects/GameObjectFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Phaser.GameObjectFactory.prototype = {
164164
* are automatically given a physics body.
165165
*
166166
* @method Phaser.GameObjectFactory#physicsGroup
167-
* @param {number} [physicsBodyType=Phaser.Physics.ARCADE] - 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.
167+
* @param {number} [physicsBodyType=Phaser.Physics.ARCADE] - If enableBody is true this is the type of physics body that is created on new Sprites. Phaser.Physics.ARCADE, Phaser.Physics.P2JS, Phaser.Physics.NINJA, etc.
168168
* @param {any} [parent] - The parent Group or DisplayObjectContainer that will hold this group, if any. If set to null the Group won't be added to the display list. If undefined it will be added to World by default.
169169
* @param {string} [name='group'] - A name for this Group. Not used internally but useful for debugging.
170170
* @param {boolean} [addToStage=false] - If set to true this Group will be added directly to the Game.Stage instead of Game.World.

0 commit comments

Comments
 (0)