public abstract static class DRNGColorCycle.Cell extends java.lang.Object implements java.lang.Comparable<DRNGColorCycle.Cell>
Constructor and Description |
---|
Cell(int cell) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DRNGColorCycle.Cell that) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
abstract void |
readValue(int[] rgbs,
boolean isHalfbright)
Reads the initial value of the cell which is either taken
from the rgb palette or from an rgb value stored by the cell.
|
abstract void |
writeValue(int[] rgbs,
boolean isHalfbright)
Writes the final value of the cell into the color palette - or
does nothing
|
public abstract void readValue(int[] rgbs, boolean isHalfbright)
rgbs
- the palette.isHalfbright
- whether the halfbright value shall be taken.public abstract void writeValue(int[] rgbs, boolean isHalfbright)
public int compareTo(DRNGColorCycle.Cell that)
compareTo
in interface java.lang.Comparable<DRNGColorCycle.Cell>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object