Skip to content

Commit f3ce3c9

Browse files
authored
fix intensity type
1 parent ddae8f9 commit f3ce3c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cameras/2d/effects/Shake.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ var Shake = new Class({
149149
* @since 3.5.0
150150
*
151151
* @param {integer} [duration=100] - The duration of the effect in milliseconds.
152-
* @param {number} [intensity=0.05] - The intensity of the shake.
152+
* @param {(number|Phaser.Math.Vector2)} [intensity=0.05] - The intensity of the shake.
153153
* @param {boolean} [force=false] - Force the shake effect to start immediately, even if already running.
154154
* @param {Phaser.Types.Cameras.Scene2D.CameraShakeCallback} [callback] - This callback will be invoked every frame for the duration of the effect.
155155
* It is sent two arguments: A reference to the camera and a progress amount between 0 and 1 indicating how complete the effect is.

0 commit comments

Comments
 (0)