Uses of Class
org.ninm.games.cardgames.common.Face

Packages that use Face
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 Face in org.ninm.games.cardgames.belot
 

Methods in org.ninm.games.cardgames.belot with parameters of type Face
static boolean PlayingState.beats(Face face1, Face face2, boolean isTrump)
          determines if the first face is higher than the second face in either trump or non trump order
static boolean PlayingState.beats(Face face1, Face face2, boolean isTrump)
          determines if the first face is higher than the second face in either trump or non trump order
 

Uses of Face in org.ninm.games.cardgames.common
 

Fields in org.ninm.games.cardgames.common declared as Face
static Face Face.ACE
           
static Face Face.KING
           
static Face Face.QUEEN
           
static Face Face.JACK
           
static Face Face.TEN
           
static Face Face.NINE
           
static Face Face.EIGHT
           
static Face Face.SEVEN
           
static Face Face.SIX
           
static Face Face.FIVE
           
static Face Face.FOUR
           
static Face Face.THREE
           
static Face Face.TWO
           
static Face Face.JOKER
           
protected  Face Card.m_face
          the face of this card
 

Methods in org.ninm.games.cardgames.common that return Face
static Face[] Face.toArray()
           
static Face[] Face.toArray(boolean includeJoker)
           
 Face Card.getFace()
          returns the face of this card
 

Methods in org.ninm.games.cardgames.common with parameters of type Face
static java.util.Set CardUtils.getCardsFrom(Face face, java.util.Set cards)
          finds all the cards from the given face
static boolean CardUtils.contains(Face face, java.util.Set cards)
          returns true if the set of cards contains the given face
 

Constructors in org.ninm.games.cardgames.common with parameters of type Face
DefaultDeck(Face[] faces, java.lang.Object deckID)
           
DefaultDeck(Face[] faces, Suit[] suits, java.lang.Object[] deckIDs, int numberOfJokersPerDeck)
           
Card(Face face, Suit suit)
          creates a new card with a null ID
Card(Face face, Suit suit, java.lang.Object deckID)
          creates a new card with a specified ID
 


SourceForge.net Logo