2017-05-09 19:36:29 +00:00
|
|
|
var GetValue = require('../utils/object/GetValue');
|
|
|
|
var TweenData = require('./TweenData');
|
|
|
|
|
2017-05-09 19:24:39 +00:00
|
|
|
var Tween = function (manager)
|
|
|
|
{
|
|
|
|
this.manager = manager;
|
2017-05-09 19:36:29 +00:00
|
|
|
|
|
|
|
this.targets;
|
|
|
|
this.ease;
|
|
|
|
this.yoyo;
|
|
|
|
this.repeat;
|
|
|
|
this.loop; // same as repeat -1 (if set, overrides repeat value)
|
|
|
|
this.paused;
|
|
|
|
|
|
|
|
this.onStart;
|
|
|
|
this.onStartScope;
|
|
|
|
this.onStartParams;
|
|
|
|
|
|
|
|
this.onUpdate;
|
|
|
|
this.onUpdateScope;
|
|
|
|
this.onUpdateParams;
|
|
|
|
|
|
|
|
this.onRepeat;
|
|
|
|
this.onRepeatScope;
|
|
|
|
this.onRepeatParams;
|
|
|
|
|
|
|
|
this.onComplete;
|
|
|
|
this.onCompleteScope;
|
|
|
|
this.onCompleteParams;
|
|
|
|
|
|
|
|
this.callbackScope;
|
|
|
|
|
|
|
|
this.useFrames = false;
|
2017-05-09 19:24:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
Tween.prototype.constructor = Tween;
|
|
|
|
|
|
|
|
Tween.prototype = {
|
2017-05-09 19:36:29 +00:00
|
|
|
|
|
|
|
timeScale: function ()
|
|
|
|
{
|
|
|
|
|
|
|
|
},
|
|
|
|
|
2017-05-09 19:24:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = Tween;
|