phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.
22 lines (20 loc) • 762 B
JavaScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Camera Pan Start Event.
*
* This event is dispatched by a Camera instance when the Pan Effect starts.
*
* @event Phaser.Cameras.Scene2D.Events#PAN_START
* @since 3.3.0
*
* @param {Phaser.Cameras.Scene2D.Camera} camera - The camera that the effect began on.
* @param {Phaser.Cameras.Scene2D.Effects.Pan} effect - A reference to the effect instance.
* @param {number} duration - The duration of the effect.
* @param {number} x - The destination scroll x coordinate.
* @param {number} y - The destination scroll y coordinate.
*/
module.exports = 'camerapanstart';