programmed everything besides the winningEvalouation
TODO: Update UML at later state
This commit is contained in:
29
Testing/src/Cards/CardValue.java
Normal file
29
Testing/src/Cards/CardValue.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package Cards;
|
||||
|
||||
public enum CardValue {
|
||||
Narr(0),
|
||||
Eins(1),
|
||||
Zwei(2),
|
||||
Drei(3),
|
||||
Vier(4),
|
||||
Fünf(5),
|
||||
Sechs(6),
|
||||
Sieben(7),
|
||||
Acht(8),
|
||||
Neun(9),
|
||||
Zehn(10),
|
||||
Elf(11),
|
||||
Zwölf(12),
|
||||
Dreizehn(13),
|
||||
Zauberer(14);
|
||||
|
||||
int index;
|
||||
|
||||
private CardValue(int i){
|
||||
this.index = i;
|
||||
}
|
||||
|
||||
public int getIndex() {
|
||||
return index;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user