|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Card in ca.ualberta.cs.poker |
---|
Methods in ca.ualberta.cs.poker that return Card | |
---|---|
Card |
Deck.deal()
Obtain the next card in the deck. |
Card |
Deck.dealCard()
Obtain the next card in the deck. |
Card |
Deck.extractRandomCard()
Remove and return a randomly selected card from within the deck. |
Card |
Hand.getCard(int pos)
Get the a specified card in the hand |
Card |
Deck.getCard(int i)
Obtain the card at a specific index in the deck. |
Card |
Deck.pickRandomCard()
Return a randomly selected card from within the deck without removing it. |
Methods in ca.ualberta.cs.poker with parameters of type Card | |
---|---|
boolean |
Hand.addCard(Card c)
Add a card to the hand. |
void |
Deck.extractCard(Card c)
Remove a card from within the deck. |
int |
Deck.findCard(Card c)
Find position of Card in Deck. |
int |
HandEvaluator.rankHand(Card c1,
Card c2,
Hand h)
Get a numerical ranking of this hand. |
void |
Deck.replaceCard(Card c)
Place a card back into the deck. |
void |
Hand.setCard(int pos,
Card c)
Add a card to the hand. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |