SteamWar/BauSystem2.0
Archiviert
12
0
Dieser Commit ist enthalten in:
yoyosource 2021-05-07 18:00:31 +02:00
Ursprung 0d80cba561
Commit af49ec96d0

Datei anzeigen

@ -27,28 +27,27 @@ import lombok.Getter;
@Getter @Getter
@AllArgsConstructor @AllArgsConstructor
public enum ColorMode implements Flag.Value<ColorMode> { public enum ColorMode implements Flag.Value<ColorMode> {
WHITE(Color.WHITE), WHITE("FLAG_COLOR_WHITE", Color.WHITE),
ORANGE(Color.ORANGE), ORANGE("FLAG_COLOR_ORANGE", Color.ORANGE),
MAGENTA(Color.MAGENTA), MAGENTA("FLAG_COLOR_MAGENTA", Color.MAGENTA),
LIGHT_BLUE(Color.LIGHT_BLUE), LIGHT_BLUE("FLAG_COLOR_LIGHT_BLUE", Color.LIGHT_BLUE),
YELLOW(Color.YELLOW), YELLOW("FLAG_COLOR_YELLOW", Color.YELLOW),
LIME(Color.LIME), LIME("FLAG_COLOR_LIME", Color.LIME),
PINK(Color.PINK), PINK("FLAG_COLOR_PINK", Color.PINK),
GRAY(Color.GRAY), GRAY("FLAG_COLOR_GRAY", Color.GRAY),
LIGHT_GRAY(Color.LIGHT_GRAY), LIGHT_GRAY("FLAG_COLOR_LIGHT_GRAY", Color.LIGHT_GRAY),
CYAN(Color.CYAN), CYAN("FLAG_COLOR_CYAN", Color.CYAN),
PURPLE(Color.PURPLE), PURPLE("FLAG_COLOR_PURPLE", Color.PURPLE),
BLUE(Color.BLUE), BLUE("FLAG_COLOR_BLUE", Color.BLUE),
BROWN(Color.BROWN), BROWN("FLAG_COLOR_BROWN", Color.BROWN),
GREEN(Color.GREEN), GREEN("FLAG_COLOR_GREEN", Color.GREEN),
RED(Color.RED), RED("FLAG_COLOR_RED", Color.RED),
BLACK(Color.BLACK); BLACK("FLAG_COLOR_BLACK", Color.BLACK);
private static ColorMode[] values; private static ColorMode[] values;
private final String chatValue;
private final Color color; private final Color color;
private final String chatValue = "FLAG_COLOR_" + name();
@Override @Override
public ColorMode[] getValues() { public ColorMode[] getValues() {
if (ColorMode.values == null) { if (ColorMode.values == null) {