public static class DRNGColorCycle.DIndexCell extends DRNGColorCycle.Cell
cell, value
Constructor and Description |
---|
DIndexCell(int cell,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
readValue(int[] rgbs,
boolean isHalfbright)
Sets the initial value of the cell from the rgb palette.
|
void |
writeValue(int[] rgbs,
boolean isHalfbright)
Writes the final value of the cell into the color palette.
|
compareTo, equals, hashCode
public void readValue(int[] rgbs, boolean isHalfbright)
readValue
in class DRNGColorCycle.Cell
rgbs
- the palette.isHalfbright
- whether the halfbright value shall be taken.public void writeValue(int[] rgbs, boolean isHalfbright)
writeValue
in class DRNGColorCycle.Cell