added some basic static colours
This commit is contained in:
parent
2dc18a01fb
commit
bb54dea3b2
|
@ -2,7 +2,18 @@ package com.danitheskunk.skunkworks.gfx;
|
||||||
|
|
||||||
public final class Color {
|
public final class Color {
|
||||||
private final int r, g, b, a;
|
private final int r, g, b, a;
|
||||||
public final static Color WHITE = new Color(255, 255, 255);
|
public final static Color WHITE = new Color(255, 255, 255);
|
||||||
|
public final static Color LIGHT_GRAY = new Color(192, 192, 192);
|
||||||
|
public final static Color GRAY = new Color(128, 128, 128);
|
||||||
|
public final static Color DARK_GRAY = new Color(64, 64, 64);
|
||||||
|
public final static Color BLACK = new Color(0, 0, 0);
|
||||||
|
public final static Color RED = new Color(255, 0, 0);
|
||||||
|
public final static Color GREEN = new Color(0, 255, 0);
|
||||||
|
public final static Color BLUE = new Color(0, 0, 255);
|
||||||
|
public final static Color YELLOW = new Color(255, 255, 0);
|
||||||
|
public final static Color MAGENTA = new Color(255, 0, 255);
|
||||||
|
public final static Color CYAN = new Color(0, 255, 255);
|
||||||
|
|
||||||
|
|
||||||
public Color(int r, int g, int b) {
|
public Color(int r, int g, int b) {
|
||||||
this.r = r;
|
this.r = r;
|
||||||
|
|
Loading…
Reference in New Issue