jsdoc fixes

This commit is contained in:
Richard Davey 2018-04-18 13:39:55 +01:00
parent f73e18043f
commit af3273b2e6
3 changed files with 4 additions and 2 deletions

View file

@ -146,7 +146,7 @@ var CubicBezierCurve = new Class({
* @method Phaser.Curves.CubicBezierCurve#draw * @method Phaser.Curves.CubicBezierCurve#draw
* @since 3.0.0 * @since 3.0.0
* *
* @generic {Phaser.GameObjects.Graphics} G - [out,$return] * @generic {Phaser.GameObjects.Graphics} G - [graphics,$return]
* *
* @param {Phaser.GameObjects.Graphics} graphics - [description] * @param {Phaser.GameObjects.Graphics} graphics - [description]
* @param {integer} [pointsTotal=32] - [description] * @param {integer} [pointsTotal=32] - [description]

View file

@ -117,7 +117,7 @@ var Curve = new Class({
* @method Phaser.Curves.Curve#draw * @method Phaser.Curves.Curve#draw
* @since 3.0.0 * @since 3.0.0
* *
* @generic {Phaser.GameObjects.Graphics} G - [out,$return] * @generic {Phaser.GameObjects.Graphics} G - [graphics,$return]
* *
* @param {Phaser.GameObjects.Graphics} graphics - The Graphics instance onto which this curve will be drawn. * @param {Phaser.GameObjects.Graphics} graphics - The Graphics instance onto which this curve will be drawn.
* @param {integer} [pointsTotal=32] - The resolution of the curve. The higher the value the smoother it will render, at the cost of rendering performance. * @param {integer} [pointsTotal=32] - The resolution of the curve. The higher the value the smoother it will render, at the cost of rendering performance.

View file

@ -171,6 +171,8 @@ var LineCurve = new Class({
* @method Phaser.Curves.LineCurve#getTangent * @method Phaser.Curves.LineCurve#getTangent
* @since 3.0.0 * @since 3.0.0
* *
* @generic {Phaser.Math.Vector2} O - [out,$return]
*
* @return {Phaser.Math.Vector2} [description] * @return {Phaser.Math.Vector2} [description]
*/ */
getTangent: function () getTangent: function ()