inonit.domain.game.card.hearts
Interface Intelligence.Game

Enclosing class:
Intelligence

public static interface Intelligence.Game

An object which can provide information to Intelligences about a game in which they are participating. An implementation of Game is provided to Intelligences by invoking their gameStarting method at the beginning of a game.


Inner Class Summary
static interface Intelligence.Game.Log
          A log for a particular game.
static interface Intelligence.Game.Rules
          An object which an Intelligence can use to determine the rules under which a Game is being played.
 
Method Summary
 Intelligence.Game.Log getLog()
          Returns the Intelligence.Game.Log for this game.
 Intelligence.Game.Rules getRules()
          Returns the Intelligence.Game.Rules for this game.
 

Method Detail

getRules

public Intelligence.Game.Rules getRules()
Returns the Intelligence.Game.Rules for this game.
Returns:
The Rules object representing the rules under which this game will be played.

getLog

public Intelligence.Game.Log getLog()
Returns the Intelligence.Game.Log for this game.
Returns:
The Log for this game, to which players may write messages.