Moved some duplicate colors into the Colors class.
Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
@@ -24,7 +24,6 @@ import org.newdawn.slick.Color;
|
||||
* Colors used for drawing.
|
||||
*/
|
||||
public class Colors {
|
||||
/** Game colors. */
|
||||
public static final Color
|
||||
BLACK_ALPHA = new Color(0, 0, 0, 0.5f),
|
||||
WHITE_ALPHA = new Color(255, 255, 255, 0.5f),
|
||||
@@ -36,13 +35,16 @@ public class Colors {
|
||||
WHITE_FADE = new Color(255, 255, 255, 1f),
|
||||
RED_HOVER = new Color(255, 112, 112),
|
||||
GREEN = new Color(137, 201, 79),
|
||||
LIGHT_ORANGE = new Color(255,192,128),
|
||||
LIGHT_GREEN = new Color(128,255,128),
|
||||
LIGHT_BLUE = new Color(128,128,255),
|
||||
LIGHT_ORANGE = new Color(255, 192, 128),
|
||||
LIGHT_GREEN = new Color(128, 255, 128),
|
||||
LIGHT_BLUE = new Color(128, 128, 255),
|
||||
GREEN_SEARCH = new Color(173, 255, 47),
|
||||
DARK_GRAY = new Color(0.3f, 0.3f, 0.3f, 1f),
|
||||
RED_HIGHLIGHT = new Color(246, 154, 161),
|
||||
BLUE_HIGHLIGHT = new Color(173, 216, 230);
|
||||
BLUE_HIGHLIGHT = new Color(173, 216, 230),
|
||||
BLACK_BG_NORMAL = new Color(0, 0, 0, 0.25f),
|
||||
BLACK_BG_HOVER = new Color(0, 0, 0, 0.5f),
|
||||
BLACK_BG_FOCUS = new Color(0, 0, 0, 0.75f);
|
||||
|
||||
// This class should not be instantiated.
|
||||
private Colors() {}
|
||||
|
||||
Reference in New Issue
Block a user