mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 01:38:23 +00:00
commit
12620abf52
4 changed files with 4 additions and 3 deletions
|
@ -18,6 +18,7 @@ var Tweens = {
|
|||
TweenManager: require('./TweenManager'),
|
||||
Tween: require('./tween/Tween'),
|
||||
TweenData: require('./tween/TweenData'),
|
||||
TweenFrameData: require('./tween/TweenFrameData'),
|
||||
|
||||
BaseTween: require('./tween/BaseTween'),
|
||||
TweenChain: require('./tween/TweenChain')
|
||||
|
|
|
@ -501,7 +501,7 @@ var TweenChain = new Class({
|
|||
|
||||
if (handler)
|
||||
{
|
||||
handler.func.apply(handler.scope, [ this ].concat(handler.params));
|
||||
handler.func.apply(this.callbackScope, [ this ].concat(handler.params));
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -480,7 +480,7 @@ var TweenData = new Class({
|
|||
var key = this.key;
|
||||
|
||||
var current = this.current;
|
||||
var previous = this.previoius;
|
||||
var previous = this.previous;
|
||||
|
||||
tween.emit(event, tween, key, target, current, previous);
|
||||
|
||||
|
|
|
@ -363,7 +363,7 @@ var TweenFrameData = new Class({
|
|||
|
||||
if (handler)
|
||||
{
|
||||
handler.func.apply(handler.scope, [ tween, target, 'texture' ].concat(handler.params));
|
||||
handler.func.apply(tween.callbackScope, [ tween, target, 'texture' ].concat(handler.params));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue