mirror of
https://github.com/photonstorm/phaser
synced 2024-11-14 00:47:29 +00:00
Make defaults match JSDocs
This commit is contained in:
parent
6ce58ed73b
commit
8af35be8f1
1 changed files with 3 additions and 0 deletions
|
@ -1037,6 +1037,9 @@ var SpineGameObject = new Class({
|
|||
*/
|
||||
addAnimation: function (trackIndex, animationName, loop, delay)
|
||||
{
|
||||
if (loop === undefined) { loop = false; }
|
||||
if (delay === undefined) { delay = 0; }
|
||||
|
||||
return this.state.addAnimation(trackIndex, animationName, loop, delay);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue