@@ -83,27 +83,27 @@ import starling.utils.Color;
83
83
private static function __init__ () {
84
84
85
85
untyped Object .defineProperties (Tween .prototype , {
86
- " isComplete" : { get : untyped __js__ (" function () { return this.get_isComplete (); }" ) },
87
- " target" : { get : untyped __js__ (" function () { return this.get_target (); }" ) },
88
- " transition" : { get : untyped __js__ (" function () { return this.get_transition (); }" ), set : untyped __js__ (" function (v) { return this.set_transition (v); }" ) },
89
- " transitionFunc" : { get : untyped __js__ (" function () { return this.get_transitionFunc (); }" ), set : untyped __js__ (" function (v) { return this.set_transitionFunc (v); }" ) },
90
- " totalTime" : { get : untyped __js__ (" function () { return this.get_totalTime (); }" ) },
91
- " currentTime" : { get : untyped __js__ (" function () { return this.get_currentTime (); }" ) },
92
- " progress" : { get : untyped __js__ (" function () { return this.get_progress (); }" ) },
93
- " delay" : { get : untyped __js__ (" function () { return this.get_delay (); }" ), set : untyped __js__ (" function (v) { return this.set_delay (v); }" ) },
94
- " repeatCount" : { get : untyped __js__ (" function () { return this.get_repeatCount (); }" ), set : untyped __js__ (" function (v) { return this.set_repeatCount (v); }" ) },
95
- " repeatDelay" : { get : untyped __js__ (" function () { return this.get_repeatDelay (); }" ), set : untyped __js__ (" function (v) { return this.set_repeatDelay (v); }" ) },
96
- " reverse" : { get : untyped __js__ (" function () { return this.get_reverse (); }" ), set : untyped __js__ (" function (v) { return this.set_reverse (v); }" ) },
97
- " roundToInt" : { get : untyped __js__ (" function () { return this.get_roundToInt (); }" ), set : untyped __js__ (" function (v) { return this.set_roundToInt (v); }" ) },
98
- " onStart" : { get : untyped __js__ (" function () { return this.get_onStart (); }" ), set : untyped __js__ (" function (v) { return this.set_onStart (v); }" ) },
99
- " onUpdate" : { get : untyped __js__ (" function () { return this.get_onUpdate (); }" ), set : untyped __js__ (" function (v) { return this.set_onUpdate (v); }" ) },
100
- " onRepeat" : { get : untyped __js__ (" function () { return this.get_onRepeat (); }" ), set : untyped __js__ (" function (v) { return this.set_onRepeat (v); }" ) },
101
- " onComplete" : { get : untyped __js__ (" function () { return this.get_onComplete (); }" ), set : untyped __js__ (" function (v) { return this.set_onComplete (v); }" ) },
102
- " onStartArgs" : { get : untyped __js__ (" function () { return this.get_onStartArgs (); }" ), set : untyped __js__ (" function (v) { return this.set_onStartArgs (v); }" ) },
103
- " onUpdateArgs" : { get : untyped __js__ (" function () { return this.get_onUpdateArgs (); }" ), set : untyped __js__ (" function (v) { return this.set_onUpdateArgs (v); }" ) },
104
- " onRepeatArgs" : { get : untyped __js__ (" function () { return this.get_onRepeatArgs (); }" ), set : untyped __js__ (" function (v) { return this.set_onRepeatArgs (v); }" ) },
105
- " onCompleteArgs" : { get : untyped __js__ (" function () { return this.get_onCompleteArgs (); }" ), set : untyped __js__ (" function (v) { return this.set_onCompleteArgs (v); }" ) },
106
- " nextTween" : { get : untyped __js__ (" function () { return this.get_nextTween (); }" ), set : untyped __js__ (" function (v) { return this.set_nextTween (v); }" ) },
86
+ " isComplete" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_isComplete (); }" ) },
87
+ " target" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_target (); }" ) },
88
+ " transition" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_transition (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_transition (v); }" ) },
89
+ " transitionFunc" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_transitionFunc (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_transitionFunc (v); }" ) },
90
+ " totalTime" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_totalTime (); }" ) },
91
+ " currentTime" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_currentTime (); }" ) },
92
+ " progress" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_progress (); }" ) },
93
+ " delay" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_delay (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_delay (v); }" ) },
94
+ " repeatCount" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_repeatCount (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_repeatCount (v); }" ) },
95
+ " repeatDelay" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_repeatDelay (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_repeatDelay (v); }" ) },
96
+ " reverse" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_reverse (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_reverse (v); }" ) },
97
+ " roundToInt" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_roundToInt (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_roundToInt (v); }" ) },
98
+ " onStart" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_onStart (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_onStart (v); }" ) },
99
+ " onUpdate" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_onUpdate (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_onUpdate (v); }" ) },
100
+ " onRepeat" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_onRepeat (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_onRepeat (v); }" ) },
101
+ " onComplete" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_onComplete (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_onComplete (v); }" ) },
102
+ " onStartArgs" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_onStartArgs (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_onStartArgs (v); }" ) },
103
+ " onUpdateArgs" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_onUpdateArgs (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_onUpdateArgs (v); }" ) },
104
+ " onRepeatArgs" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_onRepeatArgs (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_onRepeatArgs (v); }" ) },
105
+ " onCompleteArgs" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_onCompleteArgs (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_onCompleteArgs (v); }" ) },
106
+ " nextTween" : { get : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function () { return this.get_nextTween (); }" ), set : untyped #if haxe4 js. Syntax . code #else __js__ #end (" function (v) { return this.set_nextTween (v); }" ) },
107
107
});
108
108
109
109
}
0 commit comments