mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Update Barrel.js
This commit is contained in:
parent
e79f218472
commit
1b31ec12c1
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue