Merge pull request #3765 from DrevanTonder/master

change ParticleEmitter.startFollow to fix issue 3764
This commit is contained in:
Richard Davey 2018-06-19 13:20:19 +01:00 committed by GitHub
commit 30276cd4c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1047,7 +1047,7 @@ var ParticleEmitter = new Class({
* @method Phaser.GameObjects.Particles.ParticleEmitter#startFollow * @method Phaser.GameObjects.Particles.ParticleEmitter#startFollow
* @since 3.0.0 * @since 3.0.0
* *
* @param {Phaser.GameObjects.Particles.Particle} target - The Game Object to follow. * @param {Phaser.GameObjects.GameObject} target - The Game Object to follow.
* @param {float} [offsetX=0] - Horizontal offset of the particle origin from the Game Object. * @param {float} [offsetX=0] - Horizontal offset of the particle origin from the Game Object.
* @param {float} [offsetY=0] - Vertical offset of the particle origin from the Game Object. * @param {float} [offsetY=0] - Vertical offset of the particle origin from the Game Object.
* @param {boolean} [trackVisible=false] - Whether the emitter's visible state will track the target's visible state. * @param {boolean} [trackVisible=false] - Whether the emitter's visible state will track the target's visible state.