Skip to content

Commit a8c4930

Browse files
committed
Add JsDoc comment for Body#addPhaserPolygon return value
1 parent 4c94120 commit a8c4930

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/physics/p2/Body.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,7 @@ Phaser.Physics.P2.Body.prototype = {
12821282
* @method Phaser.Physics.P2.Body#addPhaserPolygon
12831283
* @param {string} key - The key of the Physics Data file as stored in Game.Cache.
12841284
* @param {string} object - The key of the object within the Physics data file that you wish to load the shape data from.
1285+
* @returns {Array} A list of created fixtures to be used with Phaser.Physics.P2.FixtureList
12851286
*/
12861287
addPhaserPolygon: function (key, object) {
12871288

0 commit comments

Comments
 (0)