From 1149ad2fc583957244e9f33c611fdacb2738d134 Mon Sep 17 00:00:00 2001 From: samme Date: Thu, 4 May 2023 16:32:38 -0700 Subject: [PATCH] Docs: particleX and particleY are updatable ops --- src/gameobjects/particles/ParticleEmitter.js | 4 ++-- src/gameobjects/particles/typedefs/ParticleEmitterConfig.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gameobjects/particles/ParticleEmitter.js b/src/gameobjects/particles/ParticleEmitter.js index 1b96b883e..5fcd25d25 100644 --- a/src/gameobjects/particles/ParticleEmitter.js +++ b/src/gameobjects/particles/ParticleEmitter.js @@ -2961,7 +2961,7 @@ var ParticleEmitter = new Class({ * However, it can be set to any valid EmitterOp onEmit type. * * @name Phaser.GameObjects.Particles.ParticleEmitter#particleX - * @type {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} + * @type {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType} * @since 3.60.0 */ particleX: { @@ -2987,7 +2987,7 @@ var ParticleEmitter = new Class({ * However, it can be set to any valid EmitterOp onEmit type. * * @name Phaser.GameObjects.Particles.ParticleEmitter#particleY - * @type {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} + * @type {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType} * @since 3.60.0 */ particleY: { diff --git a/src/gameobjects/particles/typedefs/ParticleEmitterConfig.js b/src/gameobjects/particles/typedefs/ParticleEmitterConfig.js index e2dc4d70e..8f6e746fc 100644 --- a/src/gameobjects/particles/typedefs/ParticleEmitterConfig.js +++ b/src/gameobjects/particles/typedefs/ParticleEmitterConfig.js @@ -50,8 +50,8 @@ * @property {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType} [tint] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleTint}. * @property {number[]} [color] - An array of color values that the Particles interpolate through during theif life. If set, overrides any `tint` property. * @property {string} [colorEase] - The string-based name of the Easing function to use if you have enabled Particle color interpolation via the `color` property, otherwise has no effect. - * @property {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} [x] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleX}. - * @property {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType} [y] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleY}. + * @property {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType} [x] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleX}. + * @property {Phaser.Types.GameObjects.Particles.EmitterOpOnEmitType|Phaser.Types.GameObjects.Particles.EmitterOpOnUpdateType} [y] - Sets {@link Phaser.GameObjects.Particles.ParticleEmitter#particleY}. * @property {Phaser.Types.GameObjects.Particles.ParticleEmitterEdgeZoneConfig|Phaser.Types.GameObjects.Particles.ParticleEmitterRandomZoneConfig} [emitZone] - As {@link Phaser.GameObjects.Particles.ParticleEmitter#setEmitZone}. * @property {Phaser.Types.GameObjects.Particles.ParticleEmitterDeathZoneConfig} [deathZone] - As {@link Phaser.GameObjects.Particles.ParticleEmitter#setDeathZone}. * @property {Phaser.Types.GameObjects.Particles.ParticleEmitterBounds|Phaser.Types.GameObjects.Particles.ParticleEmitterBoundsAlt} [bounds] - As {@link Phaser.GameObjects.Particles.ParticleEmitter#setBounds}.