|
GF4J 0.9.4 Beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gameframe.graphics.ColorMapping
Contains two colours that are related somehow. Used e.g. by the EffectSettings to store colours to be replaced by another colour in a processed bitamp.
Field Summary | |
int |
keyColor
The key colour. |
int |
valueColor
The value colour. |
Constructor Summary | |
ColorMapping()
Constructs a colour mapping object. |
|
ColorMapping(int keyColor,
int valueColor)
Constructs a colour mapping object with the given initial values. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int keyColor
public int valueColor
Constructor Detail |
public ColorMapping()
keyColour
- The key colour.valueColour
- The value colour.public ColorMapping(int keyColor, int valueColor)
keyColor
- The key colour in default ARGB format.valueColor
- The value colour in default ARGB format.
|
GF4J 0.9.4 Beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |