|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TrickCardGameService
Service calls related to trick card games.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService |
|---|
com.threerings.presents.client.InvocationService.ConfirmListener, com.threerings.presents.client.InvocationService.InvocationListener, com.threerings.presents.client.InvocationService.ResultListener |
| Method Summary | |
|---|---|
void |
playCard(Card card,
int handSize)
Plays a card in the trick. |
void |
requestRematch()
A request for a rematch. |
void |
sendCardsToPlayer(int toidx,
Card[] cards)
Sends a group of cards to the player at the specified index. |
| Method Detail |
|---|
void sendCardsToPlayer(int toidx,
Card[] cards)
toidx - the index of the player to send the cards tocards - the cards to send
void playCard(Card card,
int handSize)
card - the card to playhandSize - the size of the player's hand, which is used to verify
that the request is for the current trickvoid requestRematch()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||