gate.swing
Class ColorGenerator
java.lang.Object
|
+--gate.swing.ColorGenerator
- public class ColorGenerator
- extends Object
This class is used to generate random colours that are evenly distributed in
the colours space.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
DEBUG
private static final boolean DEBUG
- Debug flag
availableSpacesList
LinkedList[] availableSpacesList
usedSpacesList
LinkedList usedSpacesList
listToRead
int listToRead
ColorGenerator
public ColorGenerator()
- Creates a new ColorGenerator
getNextColor
public Color getNextColor()
- Gets the next random colour