|
-footer | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Card.Color | |
|---|---|
| garrettsmith.playingcards | Provides basic classes for simulating a game that uses playing cards. |
| Uses of Card.Color in garrettsmith.playingcards |
|---|
| Fields in garrettsmith.playingcards declared as Card.Color | |
|---|---|
static Card.Color |
Card.Color.BLACK
Indicates a black card. |
static Card.Color |
Card.Color.NONE
Indicates a card with no color. |
static Card.Color |
Card.Color.RED
Indicates a red card. |
| Methods in garrettsmith.playingcards that return Card.Color | |
|---|---|
Card.Color |
Card.getColor()
Returns a string representation of this card's color. |
| Methods in garrettsmith.playingcards with parameters of type Card.Color | |
|---|---|
int |
StandardDeck.getNumCardsOfType(Card.Color color)
Returns the number of cards in the deck whose color is equal to color. |
int |
Deck.getNumCardsOfType(Card.Color color)
Returns the number of cards in the deck whose color is equal to color. |
|
-footer | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||