This commit is contained in:
Richard Davey 2019-01-06 23:36:19 +00:00
commit 8b243ff775
3 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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.