Merge pull request #2649 from boniatillo-com/boniatillo-com-patch-jsdoc-intersectsRectangle

jsdoc fix: complete the Phaser.Line.intersectsRectangle @method tag
This commit is contained in:
Richard Davey 2016-07-20 12:10:47 +01:00 committed by GitHub
commit 8139d484a3

View file

@ -638,7 +638,7 @@ Phaser.Line.intersects = function (a, b, asSegment, result) {
*
* The for the purposes of this function rectangles are considered 'solid'.
*
* @method intersectsRectangle
* @method Phaser.Line.intersectsRectangle
* @param {Phaser.Line} line - The line to check for intersection with.
* @param {Phaser.Rectangle|object} rect - The rectangle, or rectangle-like object, to check for intersection with.
* @return {boolean} True if the line intersects with the rectangle edges, or starts or ends within the rectangle.