Skip to content

Commit 00a31d2

Browse files
committed
Updated docs. Close phaserjs#3997
1 parent d586483 commit 00a31d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/arcade/Body.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ var Body = new Class({
10761076
*
10771077
* @param {integer} [width] - The width of the Body in pixels. Cannot be zero. If not given, and the parent Game Object has a frame, it will use the frame width.
10781078
* @param {integer} [height] - The height of the Body in pixels. Cannot be zero. If not given, and the parent Game Object has a frame, it will use the frame height.
1079-
* @param {boolean} [center=true] - Modify the Body's `offset`, placing the Body's center on its Game Object's center.
1079+
* @param {boolean} [center=true] - Modify the Body's `offset`, placing the Body's center on its Game Object's center. Only works if the Game Object has the `getCenter` method.
10801080
*
10811081
* @return {Phaser.Physics.Arcade.Body} This Body object.
10821082
*/

0 commit comments

Comments
 (0)