diff --git a/src/cameras/2d/Camera.js b/src/cameras/2d/Camera.js index 4712ae217..59bbba22d 100644 --- a/src/cameras/2d/Camera.js +++ b/src/cameras/2d/Camera.js @@ -622,7 +622,7 @@ var Camera = new Class({ * @param {number} y - The destination y coordinate to scroll the center of the Camera viewport to. * @param {integer} [duration=1000] - The duration of the effect in milliseconds. * @param {(string|function)} [ease='Linear'] - The ease to use for the pan. Can be any of the Phaser Easing constants or a custom function. - * @param {boolean} [force=false] - Force the shake effect to start immediately, even if already running. + * @param {boolean} [force=false] - Force the pan effect to start immediately, even if already running. * @param {CameraPanCallback} [callback] - This callback will be invoked every frame for the duration of the effect. * It is sent four arguments: A reference to the camera, a progress amount between 0 and 1 indicating how complete the effect is, * the current camera scroll x coordinate and the current camera scroll y coordinate. @@ -644,7 +644,7 @@ var Camera = new Class({ * @param {number} zoom - The target Camera zoom value. * @param {integer} [duration=1000] - The duration of the effect in milliseconds. * @param {(string|function)} [ease='Linear'] - The ease to use for the pan. Can be any of the Phaser Easing constants or a custom function. - * @param {boolean} [force=false] - Force the shake effect to start immediately, even if already running. + * @param {boolean} [force=false] - Force the pan effect to start immediately, even if already running. * @param {CameraPanCallback} [callback] - This callback will be invoked every frame for the duration of the effect. * It is sent four arguments: A reference to the camera, a progress amount between 0 and 1 indicating how complete the effect is, * the current camera scroll x coordinate and the current camera scroll y coordinate. diff --git a/src/cameras/2d/effects/Pan.js b/src/cameras/2d/effects/Pan.js index 655bd0ad9..3390833e2 100644 --- a/src/cameras/2d/effects/Pan.js +++ b/src/cameras/2d/effects/Pan.js @@ -185,7 +185,7 @@ var Pan = new Class({ * @param {number} y - The destination y coordinate to scroll the center of the Camera viewport to. * @param {integer} [duration=1000] - The duration of the effect in milliseconds. * @param {(string|function)} [ease='Linear'] - The ease to use for the pan. Can be any of the Phaser Easing constants or a custom function. - * @param {boolean} [force=false] - Force the shake effect to start immediately, even if already running. + * @param {boolean} [force=false] - Force the pan effect to start immediately, even if already running. * @param {CameraPanCallback} [callback] - This callback will be invoked every frame for the duration of the effect. * It is sent four arguments: A reference to the camera, a progress amount between 0 and 1 indicating how complete the effect is, * the current camera scroll x coordinate and the current camera scroll y coordinate. diff --git a/src/cameras/2d/effects/Zoom.js b/src/cameras/2d/effects/Zoom.js index 4ff38bfc5..795f44067 100644 --- a/src/cameras/2d/effects/Zoom.js +++ b/src/cameras/2d/effects/Zoom.js @@ -167,7 +167,7 @@ var Zoom = new Class({ * @param {number} zoom - The target Camera zoom value. * @param {integer} [duration=1000] - The duration of the effect in milliseconds. * @param {(string|function)} [ease='Linear'] - The ease to use for the Zoom. Can be any of the Phaser Easing constants or a custom function. - * @param {boolean} [force=false] - Force the shake effect to start immediately, even if already running. + * @param {boolean} [force=false] - Force the zoom effect to start immediately, even if already running. * @param {CameraZoomCallback} [callback] - This callback will be invoked every frame for the duration of the effect. * It is sent three arguments: A reference to the camera, a progress amount between 0 and 1 indicating how complete the effect is, * and the current camera zoom value.