Skip to content

Commit cfec61f

Browse files
committed
Added Tween.isPaused method
1 parent f76aa4b commit cfec61f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

v3/src/tween/tween/Tween.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ var Tween = new Class({
116116
return (this.state === TWEEN_CONST.ACTIVE);
117117
},
118118

119+
isPaused: function ()
120+
{
121+
return (this.state === TWEEN_CONST.PAUSED);
122+
},
123+
119124
hasTarget: function (target)
120125
{
121126
return (this.targets.indexOf(target) !== -1);

0 commit comments

Comments
 (0)