Skip to content

Commit 1aab540

Browse files
committed
Correct comment Phaser.Physics.P2.BodyDebug
Set correct method name in comments
1 parent 2e49f07 commit 1aab540

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/physics/p2/BodyDebug.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Phaser.Utils.extend(Phaser.Physics.P2.BodyDebug.prototype, {
145145
/**
146146
* Draws the P2 shapes to the Graphics object.
147147
*
148-
* @method Phaser.Physics.P2.BodyDebug#draw
148+
* @method Phaser.Physics.P2.BodyDebug#drawRectangle
149149
*/
150150
drawRectangle: function(g, x, y, angle, w, h, color, fillColor, lineWidth) {
151151

@@ -179,7 +179,7 @@ Phaser.Utils.extend(Phaser.Physics.P2.BodyDebug.prototype, {
179179
/**
180180
* Draws a P2 Line shape.
181181
*
182-
* @method Phaser.Physics.P2.BodyDebug#drawCircle
182+
* @method Phaser.Physics.P2.BodyDebug#drawLine
183183
*/
184184
drawLine: function(g, len, color, lineWidth) {
185185

0 commit comments

Comments
 (0)