mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +00:00
Clarified jsdocs
This commit is contained in:
parent
b57369347f
commit
6cbcfefe7b
1 changed files with 3 additions and 3 deletions
|
@ -2559,7 +2559,7 @@ var ParticleEmitter = new Class({
|
|||
* @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 | undefined} The most recently emitted Particle.
|
||||
* @return {(Phaser.GameObjects.Particles.Particle|undefined)} The most recently emitted Particle, or `undefined` if the emitter is at its limit.
|
||||
*/
|
||||
explode: function (count, x, y)
|
||||
{
|
||||
|
@ -2585,7 +2585,7 @@ var ParticleEmitter = new Class({
|
|||
* @param {number} [y=this.x] - The y coordinate to emit the Particles from.
|
||||
* @param {number} [count=this.quantity] - The number of Particles to emit.
|
||||
*
|
||||
* @return {Phaser.GameObjects.Particles.Particle | undefined} The most recently emitted Particle.
|
||||
* @return {(Phaser.GameObjects.Particles.Particle|undefined)} The most recently emitted Particle, or `undefined` if the emitter is at its limit.
|
||||
*/
|
||||
emitParticleAt: function (x, y, count)
|
||||
{
|
||||
|
@ -2602,7 +2602,7 @@ var ParticleEmitter = new Class({
|
|||
* @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 | undefined} The most recently emitted Particle.
|
||||
* @return {(Phaser.GameObjects.Particles.Particle|undefined)} The most recently emitted Particle, or `undefined` if the emitter is at its limit.
|
||||
*
|
||||
* @see Phaser.GameObjects.Particles.Particle#fire
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue