This commit is contained in:
Richard Davey 2018-06-19 14:14:40 +01:00
commit b832247a35
2 changed files with 5 additions and 5 deletions

View file

@ -58,10 +58,10 @@ var BuildGameObjectAnimation = function (sprite, config)
var play = GetAdvancedValue(animConfig, 'play', false);
var delayedPlay = GetAdvancedValue(animConfig, 'delayedPlay', 0);
anims.delay(delay);
anims.repeat(repeat);
anims.repeatDelay(repeatDelay);
anims.yoyo(yoyo);
anims.setDelay(delay);
anims.setRepeat(repeat);
anims.setRepeatDelay(repeatDelay);
anims.setYoyo(yoyo);
if (play)
{

View file

@ -1047,7 +1047,7 @@ var ParticleEmitter = new Class({
* @method Phaser.GameObjects.Particles.ParticleEmitter#startFollow
* @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} [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.