@@ -0,0 +1,1739 @@
+package com.haxademic.core.draw.color;%0A%0Aimport com.haxademic.core.app.P;%0Aimport com.haxademic.core.math.easing.EasingFloat;%0A%0Apublic class ColorHaxEasing %7B%0A%09public EasingFloat r;%0A%09public EasingFloat g;%0A%09public EasingFloat b;%0A%09public EasingFloat a;%0A%09%0A%09public ColorHaxEasing( float r, float g, float b, float a, float easeFactor ) %7B%0A%09%09this.r = new EasingFloat(r, easeFactor);%0A%09%09this.g = new EasingFloat(g, easeFactor);%0A%09%09this.b = new EasingFloat(b, easeFactor);%0A%09%09this.a = new EasingFloat(a, easeFactor);%0A%09%7D %0A%09%0A%09public ColorHaxEasing( String hex, float easeFactor ) %7B%0A%09%09int color = ColorUtil.colorFromHex(hex);%0A%09%09this.r = new EasingFloat(redFromColorInt(color), easeFactor);%0A%09%09this.g = new EasingFloat(greenFromColorInt(color), easeFactor);%0A%09%09this.b = new EasingFloat(blueFromColorInt(color), easeFactor);%0A%09%09this.a = new EasingFloat(255, easeFactor);%0A%09%7D %0A%09%0A%09public void setTargetRGBA( float r, float g, float b, float a ) %7B%0A%09%09this.r.setTarget( r );%0A%09%09this.g.setTarget( g );%0A%09%09this.b.setTarget( b );%0A%09%09this.a.setTarget( a );%0A%09%7D%0A%09%0A%09public void setTargetColorInt( int color ) %7B%0A%09%09this.r.setTarget( redFromColorInt(color) );%0A%09%09this.g.setTarget( greenFromColorInt(color) );%0A%09%09this.b.setTarget( blueFromColorInt(color) );%0A%09%09this.a.setTarget( 255 );%0A%09%7D%0A%09%0A%09public void update() %7B%0A%09%09r.update();%0A%09%09g.update();%0A%09%09b.update();%0A%09%09a.update();%0A%09%7D%0A%0A%09public final static int alphaFromColorInt( int c ) %7B return (c %3E%3E 24) & 0xFF; %7D%0A%09public final static int redFromColorInt( int c ) %7B return (c %3E%3E 16) & 0xFF;%09%7D%0A%09public final static int greenFromColorInt( int c ) %7B return (c %3E%3E 8)  & 0xFF; %7D%0A%09public final static int blueFromColorInt( int c ) %7B return c & 0xFF; %7D%0A%0A%09public int colorInt() %7B%0A%09%09return P.p.color(r.value(), g.value(), b.value(), a.value());%0A%09%7D%0A%09%0A%7D%0A

Add easing color object