|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CardSprite | |
|---|---|
| com.threerings.parlor.card.client | |
| Uses of CardSprite in com.threerings.parlor.card.client |
|---|
| Subclasses of CardSprite in com.threerings.parlor.card.client | |
|---|---|
class |
MicroCardSprite
|
| Methods in com.threerings.parlor.card.client that return CardSprite | |
|---|---|
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. |
CardSprite |
CardPanel.getSelectedHandSprite()
Returns the currently selected hand sprite (null if no sprites are selected, the first sprite if multiple sprites are selected). |
CardSprite[] |
CardPanel.getSelectedHandSprites()
Returns an array containing the currently selected hand sprites (returns an empty array if no sprites are selected). |
| Methods in com.threerings.parlor.card.client with parameters of type CardSprite | |
|---|---|
void |
CardSpriteObserver.cardSpriteClicked(CardSprite sprite,
MouseEvent me)
Notifies the observer that the user clicked a card sprite. |
void |
CardPanel.CardSelectionObserver.cardSpriteDeselected(CardSprite sprite)
Called when a card has been deselected. |
void |
CardSpriteObserver.cardSpriteDragged(CardSprite sprite,
MouseEvent me)
Notifies the observer that the user dragged a card sprite to a new location. |
void |
CardSpriteObserver.cardSpriteEntered(CardSprite sprite,
MouseEvent me)
Notifies the observer that the user moved the mouse pointer onto a card sprite. |
void |
CardSpriteObserver.cardSpriteExited(CardSprite sprite,
MouseEvent me)
Notifies the observer that the user moved the mouse pointer off of a card sprite. |
void |
CardPanel.CardSelectionObserver.cardSpriteSelected(CardSprite sprite)
Called when a card has been selected. |
void |
CardPanel.deselectHandSprite(CardSprite sprite)
Programmatically deselects a sprite in the hand. |
void |
CardPanel.flyFromBoard(CardSprite[] cards,
Point dest,
long flightDuration,
float fadePortion)
Flies a set of cards from the board into the ether. |
void |
CardPanel.flyFromBoard(CardSprite[] cards,
Point dest1,
Point dest2,
long flightDuration,
float fadePortion)
Flies a set of cards from the board into the ether through an intermediate point. |
void |
CardPanel.flyFromHand(CardSprite[] cards,
Point dest,
long flightDuration,
float fadePortion)
Flies a set of cards from the hand into the ether. |
void |
CardPanel.flyFromHandToBoard(CardSprite card,
Point dest,
long flightDuration)
Flies a card from the hand onto the board. |
void |
CardPanel.selectHandSprite(CardSprite sprite)
Programmatically selects a sprite in the hand. |
| Method parameters in com.threerings.parlor.card.client with type arguments of type CardSprite | |
|---|---|
void |
CardPanel.setHandSelectionPredicate(Predicate<CardSprite> pred)
Sets the selection predicate that determines which cards from the hand may be selected (if null, all cards may be selected). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||