Skip to content

Commit 9567828

Browse files
committed
Merge branch 'master' of https://github.com/photonstorm/phaser
2 parents 9a7b8bf + f5ead70 commit 9567828

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/cameras/2d/Camera.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

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)