We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
intensity
1 parent ddae8f9 commit f3ce3c9Copy full SHA for f3ce3c9
1 file changed
src/cameras/2d/effects/Shake.js
@@ -149,7 +149,7 @@ var Shake = new Class({
149
* @since 3.5.0
150
*
151
* @param {integer} [duration=100] - The duration of the effect in milliseconds.
152
- * @param {number} [intensity=0.05] - The intensity of the shake.
+ * @param {(number|Phaser.Math.Vector2)} [intensity=0.05] - The intensity of the shake.
153
* @param {boolean} [force=false] - Force the shake effect to start immediately, even if already running.
154
* @param {Phaser.Types.Cameras.Scene2D.CameraShakeCallback} [callback] - This callback will be invoked every frame for the duration of the effect.
155
* 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