|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Player | |
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 Player in org.ninm.games.cardgames |
Methods in org.ninm.games.cardgames that return Player | |
Player |
Trick.getPlayer()
returns the player that announced this trick |
Player |
Engine.getActivePlayer()
returns the player whos turn it is |
Methods in org.ninm.games.cardgames with parameters of type Player | |
boolean |
Engine.playCard(Player player,
Card card)
informs the engine of a played card |
boolean |
Engine.announceTrick(Player player,
Trick trick)
tells the engine that a particular player wishes to anounce a trick |
boolean |
Engine.bidMade(Player player,
Bid bid)
indicates a bid has been made by a particluar player |
Uses of Player in org.ninm.games.cardgames.belot |
Fields in org.ninm.games.cardgames.belot declared as Player | |
private Player |
Hand.m_leadingPlayer
|
private Player |
BelotTrick.m_player
|
Methods in org.ninm.games.cardgames.belot that return Player | |
Player |
Hand.getLeadingPlayer()
Returns the leadingPlayer. |
Player |
BelotTrick.getPlayer()
|
Player |
BelotEngine.getActivePlayer()
|
Methods in org.ninm.games.cardgames.belot with parameters of type Player | |
void |
Hand.addCard(Card card,
Player player)
|
static java.util.Set |
BelotTrick.findBelot(java.util.Set cards,
Player player,
java.util.Set trumps,
Card firstCard)
|
static java.util.Set |
BelotTrick.findTricks(java.util.Set cards,
Player player)
|
boolean |
BelotEngine.playCard(Player player,
Card card)
|
boolean |
BelotEngine.announceTrick(Player player,
Trick trick)
|
boolean |
BelotEngine.bidMade(Player player,
Bid bid)
|
(package private) void |
BelotEngine.setActivePlayer(Player player)
|
Constructors in org.ninm.games.cardgames.belot with parameters of type Player | |
BelotTrick(java.util.Set cards,
Player player)
|
Uses of Player in org.ninm.games.cardgames.common |
Classes in org.ninm.games.cardgames.common that implement Player | |
class |
DefaultPlayer
The default implementation of a player |
Fields in org.ninm.games.cardgames.common declared as Player | |
private Player |
DealerEvent.m_dealer
|
private Player |
CardGameEvent.m_player
|
Methods in org.ninm.games.cardgames.common that return Player | |
Player |
DealerEvent.getDealer()
Returns the dealer. |
Player |
CardGameEvent.getPlayer()
Returns the player. |
Methods in org.ninm.games.cardgames.common with parameters of type Player | |
boolean |
AbstractEngine.playCard(Player player,
Card card)
This implementation just checks weather the player is the currante player and weather the card is one of the allowed cards. |
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. |
boolean |
AbstractEngine.bidMade(Player player,
Bid bid)
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.isCurrantPlayer(Player player)
a helper method used to determine if the passed in player is the currant player |
protected void |
AbstractEngine.fireBonusReceived(Player player,
Team team,
Bonus bonus)
helper method to let every listener know of the bonus being received |
protected void |
AbstractEngine.fireCardDelt(Player player,
Team team,
Player dealer,
Card card)
helper method to let every listener know that a card has been delt |
protected void |
AbstractEngine.fireCardDelt(Player player,
Team team,
Player dealer,
Card card)
helper method to let every listener know that a card has been delt |
Constructors in org.ninm.games.cardgames.common with parameters of type Player | |
DealerEvent(java.lang.Object source,
Player player,
Team team,
Player dealer,
Card card)
Constructor for DealerEvent. |
|
DealerEvent(java.lang.Object source,
Player player,
Team team,
Player dealer,
Card card)
Constructor for DealerEvent. |
|
CardGameEvent(java.lang.Object source,
Player player,
Team team)
Constructor for CardGameEvent. |
|
BonusEvent(java.lang.Object source,
Player player,
Team team,
Bonus bonus)
Constructor for BonusEvent. |
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |