|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlayerInfo
interface for getting all the public information concerning one player
Method Summary | |
---|---|
java.lang.String |
getAccountName()
Returns the account name of this player. |
double |
getAmountCallable()
Get the amount of the current bet that the player can call |
double |
getAmountInPot()
Obtain the amount the player has invested in the pot. |
double |
getAmountInPotThisRound()
Obtain the amount the player has invested in the pot this round |
double |
getAmountRaiseable()
Get the maximum amount the player can raise. |
double |
getAmountToCall()
Determine the amount a player must pay to stay in the game |
double |
getBankRoll()
Get the current bankroll |
double |
getBankRollAtStartOfHand()
Get the player's bankroll at the start of the hand (i.e., before any actions including antes and blinds). |
double |
getBankRollInSmallBets()
Get the current bankroll as a multiple of the big blind |
GameInfo |
getGameInfo()
Get the context of the last action made by this player. |
int |
getLastAction()
A single integer code for the last action made |
java.lang.String |
getName()
Obtain the player's name |
double |
getNetGain()
Get the net amount won or lost since the start of the current hand |
double |
getRaiseAmount(double arg0)
Return the amount the player can raise, given the desired amount to raise. |
Hand |
getRevealedHand()
Obtain the hand revealed by this player |
int |
getSeat()
Get the player's seat number in the GameInfo |
boolean |
hasActedThisRound()
Check if a player has made at least one action this round |
boolean |
hasEnoughToRaise()
Check if the player has enough chips to complete a raise |
PokerGame.Blind |
hasToPostBlind()
Get whether the player has sat out some blinds, and has to pay any as a penalty for entering the game |
boolean |
inGame()
See if the player is dealt into the current game |
boolean |
isActive()
Check if the player is still active in the hand |
boolean |
isAllIn()
Check if the player is all-in |
boolean |
isButton()
Check if the player is all-in |
boolean |
isCommitted()
Check if the player has voluntarily committed this round |
boolean |
isFolded()
Check if the player has folded |
boolean |
isSittingOut()
Check if the player is sitting out |
Method Detail |
---|
PokerGame.Blind hasToPostBlind()
double getAmountCallable()
double getAmountInPot()
double getAmountInPotThisRound()
double getAmountRaiseable()
double getAmountToCall()
double getBankRoll()
double getBankRollAtStartOfHand()
double getBankRollInSmallBets()
GameInfo getGameInfo()
int getLastAction()
java.lang.String getName()
double getNetGain()
double getRaiseAmount(double arg0)
arg0
- the amount desired to raise
Hand getRevealedHand()
int getSeat()
boolean hasActedThisRound()
boolean hasEnoughToRaise()
boolean inGame()
boolean isActive()
boolean isAllIn()
boolean isButton()
boolean isCommitted()
boolean isFolded()
boolean isSittingOut()
java.lang.String getAccountName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |