mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +00:00
Tween.getValue added for NumberTweens
This commit is contained in:
parent
a077abb8ce
commit
df49b2d4af
1 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,11 @@ var Tween = new Class({
|
|||
this.callbackScope;
|
||||
},
|
||||
|
||||
getValue: function ()
|
||||
{
|
||||
return this.data[0].current;
|
||||
},
|
||||
|
||||
setTimeScale: function (value)
|
||||
{
|
||||
this.timeScale = value;
|
||||
|
|
Loading…
Reference in a new issue