UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

10 lines (9 loc) 393 B
/** * @callback Phaser.Types.Cameras.Scene2D.CameraPanCallback * @since 3.5.0 * * @param {Phaser.Cameras.Scene2D.Camera} camera - The camera on which the effect is running. * @param {number} progress - The progress of the effect. A value between 0 and 1. * @param {number} x - The Camera's new scrollX coordinate. * @param {number} y - The Camera's new scrollY coordinate. */