You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
285 B
Java
16 lines
285 B
Java
4 years ago
|
public enum Faces {
|
||
|
ACE(1), TWO(2), THREE(3), FOUR(4), FIVE(5), SIX(6), SEVEN(7), EIGHT(8), NINE(9), TEN(10), JACK(11), QUEEN(12),
|
||
|
KING(13);
|
||
|
|
||
|
private int face;
|
||
|
|
||
|
Faces(int face) {
|
||
|
this.face = face;
|
||
|
}
|
||
|
|
||
|
public int getFace() {
|
||
|
return face;
|
||
|
}
|
||
|
|
||
|
}
|