|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.classes.games.card.Face
Typesafe enum representing card faces in a standard deck of playing cards.
Field Summary | |
static Face |
ACE
|
static Face |
EIGHT
|
static Face |
FIVE
|
static Face |
FOUR
|
static Face |
JACK
|
static Face |
KING
|
static Face |
NINE
|
static int |
NUM_FACES
|
static Face |
QUEEN
|
static Face |
SEVEN
|
static Face |
SIX
|
static Face |
TEN
|
static Face |
THREE
|
static Face |
TWO
|
Method Summary | |
int |
getFaceNumber()
Returns the face number (1-13). |
int |
getFaceValue()
Returns the face-value of the card. |
java.lang.String |
getName()
Returns "Ace", "Two" through "Ten", or "Jack" through "King" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Face ACE
public static final Face TWO
public static final Face THREE
public static final Face FOUR
public static final Face FIVE
public static final Face SIX
public static final Face SEVEN
public static final Face EIGHT
public static final Face NINE
public static final Face TEN
public static final Face JACK
public static final Face QUEEN
public static final Face KING
public static final int NUM_FACES
Method Detail |
public java.lang.String getName()
public int getFaceNumber()
public int getFaceValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |