Merge pull request #6038 from samme/patch-10

Docs: correct args in ParticleEmitter#explode()
This commit is contained in:
Richard Davey 2022-04-14 15:40:20 +01:00 committed by GitHub
commit da9296eae7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1868,9 +1868,9 @@ var ParticleEmitter = new Class({
* @method Phaser.GameObjects.Particles.ParticleEmitter#explode
* @since 3.0.0
*
* @param {number} count - The amount of Particles to emit.
* @param {number} x - The x coordinate to emit the Particles from.
* @param {number} y - The y coordinate to emit the Particles from.
* @param {number} [count=this.quantity] - The number of Particles to emit.
* @param {number} [x=this.x] - The x coordinate to emit the Particles from.
* @param {number} [y=this.x] - The y coordinate to emit the Particles from.
*
* @return {Phaser.GameObjects.Particles.Particle} The most recently emitted Particle.
*/