com.openholdem.structs
Class RuleSet
java.lang.Object
com.openholdem.structs.RuleSet
public class RuleSet
- extends java.lang.Object
- Version:
- $Revision: 1.2 $
A set of rules that define a poker game instance.
- Author:
- mattmann
Constructor Summary |
RuleSet()
Construct a new Rule Set with default parameters |
RuleSet(int npCards,
int minCards,
int maxCards,
int nComm,
java.util.SortedSet ranks)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleSet
public RuleSet()
Construct a new Rule Set with default parameters
RuleSet
public RuleSet(int npCards,
int minCards,
int maxCards,
int nComm,
java.util.SortedSet ranks)
getFGameName
public java.lang.String getFGameName()
- Returns:
- Returns the fGameName.
setFGameName
public void setFGameName(java.lang.String gameName)
- Parameters:
gameName
- The fGameName to set.
getFMaxHandCardsUsed
public int getFMaxHandCardsUsed()
- Returns:
- Returns the fMaxHandCardsUsed.
setFMaxHandCardsUsed
public void setFMaxHandCardsUsed(int maxHandCardsUsed)
- Parameters:
maxHandCardsUsed
- The fMaxHandCardsUsed to set.
getFMinHandCardsUsed
public int getFMinHandCardsUsed()
- Returns:
- Returns the fMinHandCardsUsed.
setFMinHandCardsUsed
public void setFMinHandCardsUsed(int minHandCardsUsed)
- Parameters:
minHandCardsUsed
- The fMinHandCardsUsed to set.
getFNumCommunityCards
public int getFNumCommunityCards()
- Returns:
- Returns the fNumCommunityCards.
setFNumCommunityCards
public void setFNumCommunityCards(int numCommunityCards)
- Parameters:
numCommunityCards
- The fNumCommunityCards to set.
getFNumPlayerCards
public int getFNumPlayerCards()
- Returns:
- Returns the fNumPlayerCards.
setFNumPlayerCards
public void setFNumPlayerCards(int numPlayerCards)
- Parameters:
numPlayerCards
- The fNumPlayerCards to set.
getFHandRanks
public java.util.SortedSet getFHandRanks()
- Returns:
- Returns the fHandRanks.
setFHandRanks
public void setFHandRanks(java.util.SortedSet handRanks)
- Parameters:
handRanks
- The fHandRanks to set.
Copyright © 2005-2007 Pagemewhen.com. All Rights Reserved.