|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.ninm.games.cardgames.belot.Belot
This class represents the belot card game
| Field Summary | |
private static java.util.List |
g_nonTrumpOrder
|
private static java.util.List |
g_nonTrumpScores
|
private static java.util.List |
g_trickOrder
|
private static java.util.List |
g_trumpOrder
|
private static java.util.List |
g_trumpScores
|
private Deck |
m_deck
|
private BelotEngine |
m_engine
|
private java.util.List |
m_players
|
private DefaultScore |
m_score
|
private java.util.List |
m_teams
|
| Constructor Summary | |
|
Belot()
|
(package private) |
Belot(Deck deck)
|
| Method Summary | |
Deck |
getDeck()
returns the deck used to play this game |
Engine |
getEngine()
returns the game engine that controls the logic of the game |
static java.util.List |
getNonTrumpOrder()
|
static java.util.List |
getNonTrumpScores()
|
DefaultTeam |
getOposition(Team team)
returns the oposition to this team |
java.util.List |
getPlayers()
this returns the order in which the players are going to play the game (i.e. |
Score |
getScore()
gets the game score for this particular card game |
static java.util.List |
getTrickOrder()
|
static java.util.List |
getTrumpOrder()
|
static java.util.List |
getTrumpScores()
|
void |
start()
starts the card game |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final java.util.List g_trickOrder
private static final java.util.List g_trumpOrder
private static final java.util.List g_trumpScores
private static final java.util.List g_nonTrumpOrder
private static final java.util.List g_nonTrumpScores
private final BelotEngine m_engine
private final Deck m_deck
private final DefaultScore m_score
private final java.util.List m_players
private final java.util.List m_teams
| Constructor Detail |
public Belot()
Belot(Deck deck)
| Method Detail |
public Score getScore()
CardGame
getScore in interface CardGamepublic Engine getEngine()
CardGame
getEngine in interface CardGamepublic java.util.List getPlayers()
getPlayers in interface CardGamepublic Deck getDeck()
CardGame
getDeck in interface CardGamepublic void start()
CardGame
start in interface CardGamepublic static java.util.List getTrickOrder()
public static java.util.List getNonTrumpOrder()
public static java.util.List getNonTrumpScores()
public static java.util.List getTrumpOrder()
public static java.util.List getTrumpScores()
public DefaultTeam getOposition(Team team)
team - the team to find the oposition of
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||