/** * @author Richard Davey * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * [description] * * @name Phaser.Physics.Arcade.Components.Gravity * @since 3.0.0 */ declare var Gravity: { /** * [description] * * @method Phaser.Physics.Arcade.Components.Gravity#setGravity * @since 3.0.0 * * @param {number} x - [description] * @param {number} [y=x] - [description] * * @return {this} This Game Object. */ setGravity: (x: any, y: any) => any; /** * [description] * * @method Phaser.Physics.Arcade.Components.Gravity#setGravityX * @since 3.0.0 * * @param {number} x - [description] * * @return {this} This Game Object. */ setGravityX: (x: any) => any; /** * [description] * * @method Phaser.Physics.Arcade.Components.Gravity#setGravityY * @since 3.0.0 * * @param {number} y - [description] * * @return {this} This Game Object. */ setGravityY: (y: any) => any; };