## Uses of Class
com.threerings.parlor.card.data.Card

Packages that use Card
com.threerings.parlor.card.client
com.threerings.parlor.card.data
com.threerings.parlor.card.server
com.threerings.parlor.card.trick.client
com.threerings.parlor.card.trick.data
com.threerings.parlor.card.trick.server
com.threerings.parlor.card.trick.util

### Uses of Card in com.threerings.parlor.card.client

Methods in com.threerings.parlor.card.client that return Card
`Card` CardSprite.`getCard()` Returns the card being depicted.

Methods in com.threerings.parlor.card.client with parameters of type Card
`void` CardPanel.`addToBoard(Card card, Point dest)` Adds a card to the board immediately.
`void` CardSprite.`flip(Card newCard, long duration)` Flip the card from its current displayed card to the specified card.
`void` CardPanel.`flyAcross(Card[] cards, Point src, Point dest, long flightDuration, long cardDelay, float fadePortion)` Flies a set of cards from the ether into the ether.
`void` CardPanel.`flyIntoHand(Card[] cards, Point src, long flightDuration, long pauseDuration, long dropDuration, float fadePortion)` Flies a set of cards from the ether into the hand.
`void` CardPanel.`flyToBoard(Card card, Point src, Point dest, long flightDuration, float fadePortion)` Flies a card from the ether onto the board.
`abstract com.threerings.media.image.Mirage` CardPanel.`getCardImage(Card card)` Returns the full-sized image for the front of the specified card.
`CardSprite` CardPanel.`getHandSprite(Card card)` Returns the first sprite in the hand that corresponds to the specified card, or null if the card is not in the hand.
`abstract com.threerings.media.image.Mirage` CardPanel.`getMicroCardImage(Card card)` Returns the small-sized image for the front of the specified card.
`void` CardGameReceiver.`receivedCardsFromPlayer(int plidx, Card[] cards)` Dispatched to the client when it has received a set of cards from another player.
`void` CardGameController.`receivedCardsFromPlayer(int plidx, Card[] cards)` Dispatched to the client when it has received a set of cards from another player.
`void` CardGameReceiver.`sentCardsToPlayer(int plidx, Card[] cards)` Dispatched to the client when the server has forced it to send a set of cards to another player.
`void` CardGameController.`sentCardsToPlayer(int plidx, Card[] cards)` Dispatched to the client when the server has forced it to send a set of cards to another player.
`void` CardSprite.`setCard(Card card)` Sets the card to depict.

Constructors in com.threerings.parlor.card.client with parameters of type Card
Constructor and Description
`CardSprite(CardPanel panel, Card card)` Creates a new upward-facing card sprite.
`CardSprite(CardPanel panel, Card card, boolean facingUp)` Creates a new card sprite.
`MicroCardSprite(CardPanel panel, Card card)` Creates a new upward-facing micro-card sprite.
`MicroCardSprite(CardPanel panel, Card card, boolean facingUp)` Creates a new micro-card sprite.

### Uses of Card in com.threerings.parlor.card.data

Fields in com.threerings.parlor.card.data declared as Card
`Card` PlayerCard.`card` The card that the player played.

Methods in com.threerings.parlor.card.data that return Card
`Card[]` Hand.`getCards()` Converts this list of cards into an array.

Methods in com.threerings.parlor.card.data with parameters of type Card
`void` Hand.`addAll(Card[] cards)` Adds all of the specified cards to this hand.
`int` Card.`compareTo(Card other)` Compares this card to another.
`boolean` Hand.`containsAll(Card[] cards)` Checks whether this hand contains all of the specified cards.
`void` Hand.`removeAll(Card[] cards)` Removes all of the specified cards from this hand.

Constructors in com.threerings.parlor.card.data with parameters of type Card
Constructor and Description
`PlayerCard(int pidx, Card card)` Creates a new player card.

### Uses of Card in com.threerings.parlor.card.server

Methods in com.threerings.parlor.card.server with parameters of type Card
`static void` CardGameSender.`sendCardsFromPlayer(com.threerings.presents.data.ClientObject target, int arg1, Card[] arg2)` Issues a notification that will result in a call to `CardGameReceiver.receivedCardsFromPlayer(int, com.threerings.parlor.card.data.Card[])` on a client.
`static void` CardGameSender.`sentCardsToPlayer(com.threerings.presents.data.ClientObject target, int arg1, Card[] arg2)` Issues a notification that will result in a call to `CardGameReceiver.sentCardsToPlayer(int, com.threerings.parlor.card.data.Card[])` on a client.
`void` CardGameManager.`transferCardsBetweenPlayers(int[] toPlayerIndices, Card[][] cards)` Sends sets of cards between players simultaneously.
`void` CardGameManager.`transferCardsBetweenPlayers(int fromPlayerIdx, int toPlayerIdx, Card[] cards)` Sends a set of cards from one player to another.

### Uses of Card in com.threerings.parlor.card.trick.client

Methods in com.threerings.parlor.card.trick.client with parameters of type Card
`void` TrickCardGameService.`playCard(Card card, int handSize)` Plays a card in the trick.
`void` TrickCardGameService.`sendCardsToPlayer(int toidx, Card[] cards)` Sends a group of cards to the player at the specified index.

### Uses of Card in com.threerings.parlor.card.trick.data

Methods in com.threerings.parlor.card.trick.data with parameters of type Card
`boolean` TrickCardGameObject.`isCardPlayable(Hand hand, Card card)` Checks whether a user can play the specified card at this time.
`void` TrickCardGameMarshaller.`playCard(Card arg1, int arg2)`
`void` TrickCardGameMarshaller.`sendCardsToPlayer(int arg1, Card[] arg2)`

### Uses of Card in com.threerings.parlor.card.trick.server

Methods in com.threerings.parlor.card.trick.server with parameters of type Card
`void` TrickCardGameProvider.`playCard(com.threerings.presents.data.ClientObject caller, Card arg1, int arg2)` Handles a `TrickCardGameService.playCard(com.threerings.parlor.card.data.Card, int)` request.
`void` TrickCardGameManagerDelegate.`playCard(com.threerings.presents.data.ClientObject client, Card card, int handSize)`
`void` TrickCardGameProvider.`sendCardsToPlayer(com.threerings.presents.data.ClientObject caller, int arg1, Card[] arg2)` Handles a `TrickCardGameService.sendCardsToPlayer(int, com.threerings.parlor.card.data.Card[])` request.
`void` TrickCardGameManagerDelegate.`sendCardsToPlayer(com.threerings.presents.data.ClientObject client, int toidx, Card[] cards)`

### Uses of Card in com.threerings.parlor.card.trick.util

Methods in com.threerings.parlor.card.trick.util with parameters of type Card
`static boolean` TrickCardGameUtil.`containsCard(PlayerCard[] cards, Card card)` Checks whether the specified array contains the given card.
`static boolean` TrickCardGameUtil.`followsSuit(PlayerCard[] cardsPlayed, Card card)` Checks whether the proposed card follows the suit lead.