Package zombie.core.textures
Class ColorInfo
java.lang.Object
zombie.core.textures.ColorInfo
public final class ColorInfo
extends java.lang.Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description voiddesaturate(float float1)floatgetA()floatgetB()floatgetG()floatgetR()voidinterp(ColorInfo colorInfo, float float1, ColorInfo colorInfo2)ColorInfoset(float float1, float float2, float float3, float float4)ColorInfoset(ColorInfo colorInfo)ColortoColor()ImmutableColortoImmutableColor()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
a
public float a -
b
public float b -
g
public float g -
r
public float r
-
-
Constructor Details
-
ColorInfo
public ColorInfo() -
ColorInfo
public ColorInfo(float float1, float float2, float float3, float float4)
-
-
Method Details
-
set
-
set
-
getR
public float getR() -
getG
public float getG() -
getB
public float getB() -
toColor
-
toImmutableColor
-
getA
public float getA() -
desaturate
public void desaturate(float float1) -
interp
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-