public class ColorReplaceEffectiveData extends EffectEffectiveData implements IColorReplaceEffectiveData
Immutable object which represents a Color Replacement effect. All effect colors are changed to a fixed color. Alpha values are unaffected.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
ColorReplaceEffectiveData is equal to the current ColorReplaceEffectiveData . |
java.lang.Integer |
getColor()
Returns color.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
public final java.lang.Integer getColor()
Returns color.
Read-only Integer
.
getColor
in interface IColorReplaceEffectiveData
public boolean equals(java.lang.Object obj)
Determines whether the specified ColorReplaceEffectiveData
is equal to the current ColorReplaceEffectiveData
.
equals
in class java.lang.Object
obj
- The ColorReplaceEffectiveData
to compare.public int hashCode()
Serves as a hash function for a particular type.
hashCode
in class java.lang.Object