From df49b2d4afa3a85c9afc0ad9a97ebe59c9bdef71 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Wed, 27 Sep 2017 02:31:28 +0100 Subject: [PATCH] Tween.getValue added for NumberTweens --- v3/src/tween/tween/Tween.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v3/src/tween/tween/Tween.js b/v3/src/tween/tween/Tween.js index 15190d61f..a24bb137a 100644 --- a/v3/src/tween/tween/Tween.js +++ b/v3/src/tween/tween/Tween.js @@ -94,6 +94,11 @@ var Tween = new Class({ this.callbackScope; }, + getValue: function () + { + return this.data[0].current; + }, + setTimeScale: function (value) { this.timeScale = value;