initial commit
This commit is contained in:
19
src/cards/Rank.java
Normal file
19
src/cards/Rank.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package cards;
|
||||
|
||||
/**
|
||||
* Represents the ranks of playing cards.
|
||||
*/
|
||||
public enum Rank {
|
||||
TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING, ACE;
|
||||
|
||||
/**
|
||||
* Returns a string representation of the rank.
|
||||
*
|
||||
* @return A string representing the rank.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
//TODO implement
|
||||
return super.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user