|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--inonit.domain.game.card.hearts.ai.Rules
An object which provides information about a set of rules for Hearts.
Method Summary | |
CardArray |
getDeck()
Returns the deck under these rules. |
int |
getKittySize()
Returns the size of the "kitty" under these rules. |
CardArray |
getTakeAllCards()
Returns the set of cards required for a take-all under these rules. |
int |
getTakeAllScore()
Returns the number of points a take-all is worth under these rules. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public CardArray getDeck()
CardArray
containing the cards in the deck under these Rules
.public CardArray getTakeAllCards()
CardArray
containing all of the cards which need to be taken in order to execute a take-all
under these Rules
.public int getTakeAllScore()
Rules
. Will
not be negative.public int getKittySize()
Kitty
under these rules, or
0
if there would be no kitty.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |