Skip to content

Commit 975b2b5

Browse files
committed
Fixed Tween.resume/pause.
1 parent fabaa49 commit 975b2b5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/tweens/tween/Tween.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ var Tween = new Class({
390390
else if (this.paused)
391391
{
392392
this.paused = false;
393-
393+
394394
this.parent.makeActive(this);
395395
}
396396
else
@@ -454,12 +454,12 @@ var Tween = new Class({
454454
/**
455455
* [description]
456456
*
457-
* @method Phaser.Tweens.Tween#pause
457+
* @method Phaser.Tweens.Tween#resume
458458
* @since 3.0.0
459459
*
460460
* @return {Phaser.Tweens.Tween} [description]
461461
*/
462-
pause: function ()
462+
resume: function ()
463463
{
464464
if (this.state === TWEEN_CONST.PAUSED)
465465
{
@@ -982,9 +982,9 @@ Tween.TYPES = [
982982
];
983983

984984
// When registering a factory function 'this' refers to the GameObjectFactory context.
985-
//
985+
//
986986
// There are several properties available to use:
987-
//
987+
//
988988
// this.scene - a reference to the Scene that owns the GameObjectFactory
989989
// this.displayList - a reference to the Display List the Scene owns
990990
// this.updateList - a reference to the Update List the Scene owns

0 commit comments

Comments
 (0)