UPDATE Color with improvements
parent
ef7cd30347
commit
535c2d2515
|
@ -1,5 +1,20 @@
|
||||||
package latice.model;
|
package latice.model;
|
||||||
|
|
||||||
public enum Color {
|
public enum Color {
|
||||||
YELLOW, BLUE, RED, PURPLE, GREEN, TURCHESE;
|
YELLOW("y"),
|
||||||
|
NAVYBLUE("n"),
|
||||||
|
RED("r"),
|
||||||
|
MAGENTA("m"),
|
||||||
|
GREEN("g"),
|
||||||
|
TURQUOISE("t"); //TODO find what is the color turchese, and write it's color code
|
||||||
|
|
||||||
|
private String stringColor;
|
||||||
|
|
||||||
|
Color(String stringColor) {
|
||||||
|
this.stringColor = stringColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStringColor() {
|
||||||
|
return this.stringColor;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue