/** * @author Richard Davey * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ declare var Class: any; declare var GetValue: any; /** * @typedef {object} SmoothedKeyControlConfig * * @property {Phaser.Cameras.Scene2D.Camera} [camera] - The Camera that this Control will update. * @property {Phaser.Input.Keyboard.Key} [left] - The Key to be pressed that will move the Camera left. * @property {Phaser.Input.Keyboard.Key} [right] - The Key to be pressed that will move the Camera right. * @property {Phaser.Input.Keyboard.Key} [up] - The Key to be pressed that will move the Camera up. * @property {Phaser.Input.Keyboard.Key} [zoomIn] - The Key to be pressed that will zoom the Camera in. * @property {Phaser.Input.Keyboard.Key} [zoomOut] - The Key to be pressed that will zoom the Camera out. * @property {number} [zoomSpeed=0.01] - The speed at which the camera will zoom if the `zoomIn` or `zoomOut` keys are pressed. * @property {(number|{x:number,y:number})} [acceleration=0] - The horizontal and vertical acceleration the camera will move. * @property {(number|{x:number,y:number})} [drag=0] - The horizontal and vertical drag applied to the camera when it is moving. * @property {(number|{x:number,y:number})} [maxSpeed=0] - The maximum horizontal and vertical speed the camera will move. */ /** * @classdesc * [description] * * @class SmoothedKeyControl * @memberOf Phaser.Cameras.Controls * @constructor * @since 3.0.0 * * @param {SmoothedKeyControlConfig} config - [description] */ declare var SmoothedKeyControl: any;