Provides pre-defined color values for drawing operations.
Constructs a new palette.
The index of the pre-defined palette to use.
Retrieve the 24bit color values of the currently selected palette.
The colors in the palette.
Retrieve the index of the currently selected, pre-defined palette values.
The index of the currently selected, pre-defined palette values.
PALETTES
Uses the next pre-defined color value set for this palette.
This instance.
Retrieve a random color from the palette.
The PRNG to use. Ideally, supply your own.
A random color from the palette.
Provides pre-defined color values for drawing operations.