File tree 1 file changed +8
-4
lines changed 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ package org.flixel
13
13
{
14
14
15
15
/**
16
- * A simple, linear tween (constant motion, with no acceleration) .
16
+ * Instantiate a new tween object .
17
17
*
18
18
* @param StartValue The starting value.
19
19
* @param EndValue The end value.
@@ -55,12 +55,16 @@ package org.flixel
55
55
56
56
57
57
/**
58
- * TODO: ASDoc
58
+ * Current progress of the tween, between 0 and `duration` inclusive.
59
59
*/
60
60
public function get progress ():Number
61
61
{
62
62
return _progress ;
63
63
}
64
+
65
+ /**
66
+ * @private
67
+ */
64
68
public function set progress (value :Number ):void
65
69
{
66
70
if (value >= duration )
@@ -76,15 +80,15 @@ package org.flixel
76
80
}
77
81
78
82
/**
79
- * TODO: ASDoc
83
+ * Returns `true` if the tween has finished to completion.
80
84
*/
81
85
public function get finished ():Boolean
82
86
{
83
87
return (_progress >= duration );
84
88
}
85
89
86
90
/**
87
- * TODO: ASDoc
91
+ * The calculated value based on the current `progress`.
88
92
*/
89
93
public function get value ():Number
90
94
{
You can’t perform that action at this time.
0 commit comments