mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 03:23:42 +00:00
Docs: add Phaser.Types.GameObjects.Particles.ParticleClassConstructor
Fixes #5731 ?
This commit is contained in:
parent
52e402e14e
commit
ba5e4ffab7
3 changed files with 8 additions and 2 deletions
|
@ -167,7 +167,7 @@ var ParticleEmitter = new Class({
|
|||
* The Particle Class which will be emitted by this Emitter.
|
||||
*
|
||||
* @name Phaser.GameObjects.Particles.ParticleEmitter#particleClass
|
||||
* @type {Phaser.GameObjects.Particles.Particle}
|
||||
* @type {Phaser.Types.GameObjects.Particles.ParticleClassConstructor}
|
||||
* @default Phaser.GameObjects.Particles.Particle
|
||||
* @since 3.0.0
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
/**
|
||||
* @callback Phaser.Types.GameObjects.Particles.ParticleClassConstructor
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {Phaser.GameObjects.Particles.ParticleEmitter} emitter - The Emitter to which this Particle belongs.
|
||||
*/
|
|
@ -21,7 +21,7 @@
|
|||
* @property {string} [name] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#name}.
|
||||
* @property {boolean} [on] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#on}.
|
||||
* @property {boolean} [particleBringToTop] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleBringToTop}.
|
||||
* @property {Phaser.GameObjects.Particles.Particle} [particleClass] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleClass}.
|
||||
* @property {Phaser.Types.GameObjects.Particles.ParticleClassConstructor} [particleClass] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleClass}.
|
||||
* @property {boolean} [radial] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#radial}.
|
||||
* @property {number} [timeScale] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#timeScale}.
|
||||
* @property {boolean} [trackVisible] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#trackVisible}.
|
||||
|
|
Loading…
Reference in a new issue