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) 436 B
/** * @callback Phaser.Types.GameObjects.Particles.EdgeZoneSourceCallback * @since 3.0.0 * * @param {number} quantity - The number of particles to place on the source edge. If 0, `stepRate` should be used instead. * @param {number} [stepRate] - The distance between each particle. When set, `quantity` is implied and should be set to `0`. * * @return {Phaser.Types.Math.Vector2Like[]} - The points placed on the source edge. */