File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -620,7 +620,7 @@ var Camera = new Class({
620620 * @since 3.0.0
621621 *
622622 * @param {integer } [duration=100] - The duration of the effect in milliseconds.
623- * @param {number } [intensity=0.05] - The intensity of the shake.
623+ * @param {( number|Phaser.Math.Vector2) } [intensity=0.05] - The intensity of the shake.
624624 * @param {boolean } [force=false] - Force the shake effect to start immediately, even if already running.
625625 * @param {function } [callback] - This callback will be invoked every frame for the duration of the effect.
626626 * It is sent two arguments: A reference to the camera and a progress amount between 0 and 1 indicating how complete the effect is.
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments