mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Return this
This commit is contained in:
parent
31b25043b9
commit
83ef7402a1
1 changed files with 4 additions and 2 deletions
|
@ -512,7 +512,7 @@ var SpineGameObject = new Class({
|
|||
play: function (animationName, loop)
|
||||
{
|
||||
if (loop === undefined) { loop = false; }
|
||||
0
|
||||
|
||||
return this.setAnimation(0, animationName, loop);
|
||||
},
|
||||
|
||||
|
@ -528,7 +528,9 @@ var SpineGameObject = new Class({
|
|||
|
||||
addAnimation: function (trackIndex, animationName, loop, delay)
|
||||
{
|
||||
return this.state.addAnimation(trackIndex, animationName, loop, delay);
|
||||
this.state.addAnimation(trackIndex, animationName, loop, delay);
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
setEmptyAnimation: function (trackIndex, mixDuration)
|
||||
|
|
Loading…
Reference in a new issue