Update ParticleEmitterFrameConfig.js

Changed the configuration to better reflect what is accepted by the function
This commit is contained in:
Alvaro Estrada 2023-08-24 13:57:52 -06:00
parent 9080dbf1fd
commit 4cfa8c4287

View file

@ -2,7 +2,7 @@
* @typedef {object} Phaser.Types.GameObjects.Particles.ParticleEmitterFrameConfig
* @since 3.0.0
*
* @property {number|number[]|string|string[]|Phaser.Textures.Frame|Phaser.Textures.Frame[]} [frames] - One or more texture frames.
* @property {number[]|string[]|Phaser.Textures.Frame[]} [frames] - Array of texture frames.
* @property {boolean} [cycle] - Whether texture frames will be assigned consecutively (true) or at random (false).
* @property {number} [quantity] - The number of consecutive particles receiving each texture frame, when `cycle` is true.
*/