Skip to content

Commit ff5dda7

Browse files
committed
Merge pull request phaserjs#1012 from Dumtard/dev
docs typo
2 parents e5078a2 + 6363b35 commit ff5dda7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/GameObjectFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Phaser.GameObjectFactory.prototype = {
113113
* A Physics Group is the same as an ordinary Group except that is has enableBody turned on by default, so any Sprites it creates
114114
* are automatically given a physics body.
115115
*
116-
* @method Phaser.GameObjectFactory#group
116+
* @method Phaser.GameObjectFactory#physicsGroup
117117
* @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.
118118
* @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.
119119
* @param {string} [name='group'] - A name for this Group. Not used internally but useful for debugging.

0 commit comments

Comments
 (0)