|
-footer | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Card.Suit | |
|---|---|
| garrettsmith.playingcards | Provides basic classes for simulating a game that uses playing cards. |
| Uses of Card.Suit in garrettsmith.playingcards |
|---|
| Fields in garrettsmith.playingcards declared as Card.Suit | |
|---|---|
static Card.Suit |
Card.Suit.CLUB
Represents the clubs. |
static Card.Suit |
Card.Suit.DIAMOND
Represents the diamonds. |
static Card.Suit |
Card.Suit.HEART
Represents the hearts. |
static Card.Suit |
Card.Suit.NONE
Represents no suit. |
static Card.Suit |
Card.Suit.SPADE
Represents the spades. |
| Methods in garrettsmith.playingcards that return Card.Suit | |
|---|---|
Card.Suit |
Card.getSuit()
Returns the card's suit. |
| Methods in garrettsmith.playingcards with parameters of type Card.Suit | |
|---|---|
int |
StandardDeck.getNumCardsOfType(Card.Suit suit)
Returns the number of cards in the deck whose suit is equal to suite. |
int |
Deck.getNumCardsOfType(Card.Suit suit)
Returns the number of cards in the deck whose suit is equal to suite. |
| Constructors in garrettsmith.playingcards with parameters of type Card.Suit | |
|---|---|
Card(Card.Value value,
Card.Suit suit)
Creates a new card with the specified suit and value. |
|
|
-footer | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||