inonit.domain.game.card.hearts
Interface Rules


public interface Rules

Unsupported.


Inner Class Summary
static class Rules.Illegal
          Unsupported.
 
Method Summary
 void checkLegalPlay(CardArray[] previousTricks, CardArray currentTrick, CardArray hand, Card card)
           
 CardArray getDeck()
           
 int getHandLimit()
           
 int getNumberOfPlayers()
           
 int getPassSize()
           
 int getScoreLimit()
           
 CardArray getTakeAllCards()
           
 int getTakeAllScore()
           
 int getValue(CardArray array)
           
 boolean isKittyBlind()
           
 Intelligence.Game.Rules toIntelligenceRules()
           
 boolean triggersKitty(CardArray trick)
           
 

Method Detail

getNumberOfPlayers

public int getNumberOfPlayers()

getDeck

public CardArray getDeck()

getPassSize

public int getPassSize()

getHandLimit

public int getHandLimit()

getScoreLimit

public int getScoreLimit()

getTakeAllCards

public CardArray getTakeAllCards()

getTakeAllScore

public int getTakeAllScore()

isKittyBlind

public boolean isKittyBlind()

checkLegalPlay

public void checkLegalPlay(CardArray[] previousTricks,
                           CardArray currentTrick,
                           CardArray hand,
                           Card card)
                    throws Rules.Illegal

getValue

public int getValue(CardArray array)

triggersKitty

public boolean triggersKitty(CardArray trick)

toIntelligenceRules

public Intelligence.Game.Rules toIntelligenceRules()