Skip to content

Commit a465a0e

Browse files
jsdoc fix: complete the Phaser.Line.intersectsRectangle @method tag
complete the @method tag of Phaser.Line.intersectsRectangle with the class prefix.
1 parent f2daaec commit a465a0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geom/Line.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ Phaser.Line.intersects = function (a, b, asSegment, result) {
638638
*
639639
* The for the purposes of this function rectangles are considered 'solid'.
640640
*
641-
* @method intersectsRectangle
641+
* @method Phaser.Line.intersectsRectangle
642642
* @param {Phaser.Line} line - The line to check for intersection with.
643643
* @param {Phaser.Rectangle|object} rect - The rectangle, or rectangle-like object, to check for intersection with.
644644
* @return {boolean} True if the line intersects with the rectangle edges, or starts or ends within the rectangle.

0 commit comments

Comments
 (0)