inonit.domain.game.card.hearts
Interface Intelligence.Game
- Enclosing class:
- Intelligence
- public static interface Intelligence.Game
An object which can provide information to Intelligence
s about a game in which they are participating. An
implementation of Game
is provided to Intelligence
s by invoking their
gameStarting
method at the beginning of a game.
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.