Modifier and Type | Method and Description |
---|---|
ICard.CardType |
Card.getType() |
ICard.CardType |
ICard.getType()
Method for accessing the type of a card.
|
static ICard.CardType |
ICard.CardType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ICard.CardType[] |
ICard.CardType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Card(ICard.CardType type,
java.lang.String name)
Constructor for creating a card with the given type and string or the
string "Joker" if the given type is JOKER.
|