2023-10-05 23:32:29 +02:00
|
|
|
/*
|
|
|
|
============================================================
|
|
|
|
This is the "Kartenfarbe" file from Author: Philipp Kotte
|
|
|
|
written on: 05 / 10 / 2023 at: 23:32
|
|
|
|
============================================================
|
|
|
|
*/
|
|
|
|
package Domain.Enums;
|
|
|
|
|
|
|
|
public enum Kartenfarbe {
|
|
|
|
|
2023-10-10 12:04:21 +02:00
|
|
|
MENSCH("BLAU"), ZWERG("ROT"), ELF("GRÜN"), RIESE("GELB");
|
|
|
|
|
|
|
|
private String farbe;
|
|
|
|
|
|
|
|
private Kartenfarbe (String farbe) {
|
|
|
|
this.farbe = farbe;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getFarbe() {
|
|
|
|
return farbe;
|
|
|
|
}
|
2023-10-18 16:00:16 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return getFarbe();
|
|
|
|
}
|
2023-10-10 12:04:21 +02:00
|
|
|
|
2023-10-05 23:32:29 +02:00
|
|
|
}
|