mirror of
https://github.com/photonstorm/phaser
synced 2024-12-01 00:49:41 +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;
|
this.callbackScope;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getValue: function ()
|
||||||
|
{
|
||||||
|
return this.data[0].current;
|
||||||
|
},
|
||||||
|
|
||||||
setTimeScale: function (value)
|
setTimeScale: function (value)
|
||||||
{
|
{
|
||||||
this.timeScale = value;
|
this.timeScale = value;
|
||||||
|
|
Loading…
Reference in a new issue