public class ColourManager
extends java.lang.Object
Constructor and Description |
---|
ColourManager() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getColours()
Get the collection of colour names.
|
static float[] |
getRGBForColour(java.lang.String colour)
Finds the rgb value that corresponds to a colour's name.
|
static void |
setColours(java.lang.String[] colours)
Set the collection of colour names to use.
|
public static java.lang.String[] getColours()
public static float[] getRGBForColour(java.lang.String colour)
colour
- Name of the colour.public static void setColours(java.lang.String[] colours)
colours
- The collection of colour names to use.