UPDATE Color with improvements

master
Mathis 2022-05-03 16:23:10 +02:00
parent ef7cd30347
commit 535c2d2515
1 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,20 @@
package latice.model;
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;
}
}