mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +00:00
Merge pull request #3761 from DannyT/fix/buildgameobjectanimation
Fix setter calls in BuildGameObjectAnimation
This commit is contained in:
commit
3a6f093579
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue