UNPKG

phaser

Version:

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

11 lines (10 loc) 565 B
/** * @typedef {object} Phaser.Types.GameObjects.Particles.GravityWellConfig * @since 3.0.0 * * @property {number} [x=0] - The x coordinate of the Gravity Well, in world space. * @property {number} [y=0] - The y coordinate of the Gravity Well, in world space. * @property {number} [power=0] - The strength of the gravity force - larger numbers produce a stronger force. * @property {number} [epsilon=100] - The minimum distance for which the gravity force is calculated. * @property {number} [gravity=50] - The gravitational force of this Gravity Well. */