|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Trick | |
org.ninm.games.cardgames | This package contains all the interfaces for a card game. |
org.ninm.games.cardgames.belot | This package contains the implementation of the Belot card game |
org.ninm.games.cardgames.common | Common classes and utilties used by card games. |
Uses of Trick in org.ninm.games.cardgames |
Methods in org.ninm.games.cardgames with parameters of type Trick | |
boolean |
Engine.announceTrick(Player player,
Trick trick)
tells the engine that a particular player wishes to anounce a trick |
Uses of Trick in org.ninm.games.cardgames.belot |
Classes in org.ninm.games.cardgames.belot that implement Trick | |
class |
BelotTrick
This class represents a trick used in the belot game |
Methods in org.ninm.games.cardgames.belot with parameters of type Trick | |
boolean |
BelotEngine.announceTrick(Player player,
Trick trick)
|
Uses of Trick in org.ninm.games.cardgames.common |
Methods in org.ninm.games.cardgames.common with parameters of type Trick | |
void |
DefaultTeam.addAnnouncedTrick(Trick trick)
|
void |
DefaultScore.addTrick(Trick trick)
|
void |
DefaultPlayer.addAnnouncedTrick(Trick trick)
|
boolean |
AbstractEngine.announceTrick(Player player,
Trick trick)
this implementation just checks weather the player making the anouncement is the currant player and weather the trick is one of the allowed tricks. |
protected boolean |
AbstractEngine.isAllowedTrick(Trick trick)
a helper method used to determine if the passed in trick is one of the allowed tricks |
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |