|
||||||||||
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.Game
A game of Hearts.
A Game
object consists of game-related information and a set of Hand
s containing
information about each hand played in the game.
Method Summary | |
Intelligence.Game |
getConfiguration()
Returns the Intelligence.Game object associated with this Game . |
Hand |
getCurrentHand()
Returns the current Hand . |
Hand[] |
getPreviousHands()
Returns the previous Hand s played in this Game . |
Rules |
getRules()
Returns an object representing the rules of this game. |
int[] |
getScore()
Returns the current score of the Game . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Intelligence.Game getConfiguration()
Intelligence.Game
object associated with this Game
.Intelligence.Game
object specifying information about this Game
.public Rules getRules()
Rules
object containing information about the rules of this Game
.public Hand[] getPreviousHands()
Hand
s played in this Game
.Hand
objects representing the previous hands played in this game.public Hand getCurrentHand()
Hand
.Hand
in progress, or null
if no Hand
is in progress in this
Game
.public int[] getScore()
Game
.int[]
containing the current game score, with this AbstractIntelligence
's
score at index 0, the score of the Intelligence
to this AbstractIntelligence
's
left at index 1, and so on.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |