Update Barrel.js

This commit is contained in:
Richard Davey 2023-02-27 13:47:19 +00:00
parent e79f218472
commit 1b31ec12c1

View file

@ -18,7 +18,7 @@ var FX_CONST = require('./const');
* @since 3.60.0
*
* @param {Phaser.GameObjects.GameObject} gameObject - A reference to the Game Object that has this fx.
* @param {number} [amount=1] - The amount of distortion applied to the barrel effect. Typically keep this within the range 0 (no distortion) to 1.
* @param {number} [amount=1] - The amount of distortion applied to the barrel effect. A value of 1 is no distortion. Typically keep this within +- 1.
*/
var Barrel = new Class({
@ -35,7 +35,7 @@ var Barrel = new Class({
/**
* The amount of distortion applied to the barrel effect.
*
* Typically keep this within the range 0 (no distortion) to 1.
* Typically keep this within the range 1 (no distortion) to +- 1.
*
* @name Phaser.FX.Barrel#amount
* @type {number}