| Modifier and Type | Method and Description |
|---|---|
void |
CardGameController.receivedHand(Hand hand)
Called when the server deals the client a new hand of cards.
|
void |
CardGameReceiver.receivedHand(int oid,
Hand hand)
Dispatched to the client when it has received a hand of cards.
|
void |
CardGameController.receivedHand(int oid,
Hand hand)
Called by our sender to notify us of a received hand.
|
void |
CardPanel.setHand(Hand hand,
long fadeDuration)
Fades a hand of cards in.
|
void |
CardPanel.showHand(Hand hand)
Shows a hand that was previous set face-down.
|
| Modifier and Type | Method and Description |
|---|---|
Hand |
Deck.dealHand(int size)
Deals a hand of cards from the deck.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Deck.returnHand(Hand hand)
Returns a hand of cards to the deck.
|
| Modifier and Type | Method and Description |
|---|---|
Hand |
CardGameManager.dealHand(Deck deck,
int size,
int playerIndex)
Deals a hand of cards to the player at the specified index from the given Deck.
|
Hand[] |
CardGameManager.dealHands(Deck deck,
int size)
Deals a hand of cards to each player from the specified Deck.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CardGameSender.sendHand(com.threerings.presents.data.ClientObject target,
int arg1,
Hand arg2)
Issues a notification that will result in a call to
CardGameReceiver.receivedHand(int, com.threerings.parlor.card.data.Hand) on a client. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TrickCardGameObject.isCardPlayable(Hand hand,
Card card)
Checks whether a user can play the specified card at this time.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
TrickCardGameUtil.canFollowSuit(PlayerCard[] cardsPlayed,
Hand hand)
Checks whether the player can follow the suit lead with the hand given.
|
Copyright © 2015. All rights reserved.