Modifier and Type | Method and Description |
---|---|
Suits |
Card.getSuit()
A method that returns the suit.
|
Suits |
Euchre.getTrump()
A method to return the trump.
|
Suits |
EuchrePanel.pickTrump(Card top)
A method used go through the trump logic and set trump to what
is called by the player.
|
static Suits |
Suits.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Suits[] |
Suits.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Card.setSuit(Suits suit)
A method that sets the suit.
|
void |
Euchre.setTrump(Suits t)
A mutator that sets trump.
|
Constructor and Description |
---|
Card(int card,
Suits suit)
A Constructor that takes an integer for the card name and a suit
for the card itself.
|