|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GameInfo
Method Summary | |
---|---|
boolean |
canRaise(int arg0)
See if the player in the given seat is able to raise Calls the PlayerInfo's corresponding method. |
double |
getAmountToCall(int arg0)
Get a player's amount to call Calls the PlayerInfo's corresponding method. |
double |
getAnte()
Get the amount of the ante, if any |
double |
getBankRoll(int arg0)
Get a player's bankroll Calls the PlayerInfo's corresponding method. |
double |
getBetsToCall(int arg0)
Get a player's amount to call in bets |
int |
getBigBlindSeat()
Get the big blind seat |
double |
getBigBlindSize()
Get the amount of the big blind. |
Hand |
getBoard()
Get the board cards |
int |
getButtonSeat()
Get the seat the button is on (could be dead button) |
double |
getCurrentBetSize()
Get the amount of the betting increment (for fixed-limit) |
int |
getCurrentPlayerSeat()
Get the seat for the current player to act |
double |
getEligiblePot(int arg0)
Get the amount in the pot that a player is eligible to win. |
long |
getGameID()
The game identifier for this table |
double |
getMainPotSize()
Get the size of the main pot. |
double |
getMinRaise()
Get the smallest legal raise |
int |
getNumActivePlayers()
Get the number of players still active (not folded) in the hand |
int |
getNumActivePlayersNotAllIn()
Get the number of active players that are not all-in |
int |
getNumberOfAllInPlayers()
Get the number of players in the hand that are all-in |
int |
getNumPlayers()
Get the number of players dealt into the hand |
int |
getNumRaises()
Get the number of bets and raises made during the current betting round |
int |
getNumSeats()
The number of seats at the table |
int |
getNumToAct()
Get the number of players still to act in this betting round if there are no further raises. |
int |
getNumWinners()
Get the number of players that were awarded a pot in this hand |
PlayerInfo |
getPlayer(int arg0)
Get state information for a player in a given seat |
PlayerInfo |
getPlayer(java.lang.String arg0)
Get state information for a player with a given name |
java.lang.String |
getPlayerName(int arg0)
Get the name of the player in a given seat |
int |
getPlayerSeat(java.lang.String arg0)
Get the seat number for a player by name |
java.util.List<PlayerInfo> |
getPlayersInPot(double arg0)
Get a list of all players eligible to win a pot with the given minimum stakes |
int |
getSmallBlindSeat()
Get the small blind seat (could be dead small blind) |
double |
getSmallBlindSize()
Get the amount of the small blind |
Stage |
getStage()
Get the current game stage |
double |
getStakes()
The stakes are the amount each player must have invested in the pot to stay active in the hand. |
double |
getTotalPotSize()
Get the total size of the pot including the main pot and all side pots. |
int |
getUnacted()
Get the number of players who have not acted yet this round |
PokerGame.Blind |
hasToPostBlind(int seat)
Get whether the player has sat out some blinds, and has to pay any as a penalty for entering the game |
boolean |
inGame(int arg0)
See if the player in the given seat is dealt into the hand (not sitting out or empty). |
boolean |
isActive(int arg0)
See if the player in the given seat is still active in the hand |
boolean |
isCommitted(int arg0)
See if a player has invested anything in the current round |
boolean |
isFixedLimit()
Determine if the game is fixed-limit |
boolean |
isNoLimit()
Determine if the game is no-limit |
boolean |
isPotLimit()
Determine if the game is pot-limit |
boolean |
isReserved(int seat)
See if given seat is reserved |
boolean |
isReverseBlinds()
In reverse blinds mode, if the game is Heads-up, the small blind is placed on the button. |
boolean |
isSimulation()
Determine if the game is in simulation mode. |
boolean |
isZipMode()
We should play as fast and crudely as possible because the user has requested we zip to the end of the hand. |
double |
maxBuy()
See how much a player can at most bring to table with him, her or it |
double |
minBuy()
See how much a player must at least bring to table with him, her or it |
int |
nextActivePlayer(int arg0)
Get the seat number of the next active player at the table (skips empty seats and folded players) |
int |
nextPlayer(int arg0)
Get the seat number of the next active player at the table (skips empty seats and folded players) |
int |
nextSeat(int arg0)
Get the seat number of the next seat clockwise at the table |
int |
previousPlayer(int arg0)
Get the seat number of the previous player at the table (skips empty seats) |
Method Detail |
---|
PokerGame.Blind hasToPostBlind(int seat)
seat
- of the player
boolean isReserved(int seat)
seat
-
double minBuy()
double maxBuy()
boolean canRaise(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seat
EmptySeatException,
- if the given seat is emptydouble getAmountToCall(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seat
EmptySeatException,
- if the given seat is emptydouble getAnte()
double getBankRoll(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seat
EmptySeatException,
- if the given seat is emptydouble getBetsToCall(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seat
EmptySeatException,
- if the given seat is emptyint getBigBlindSeat()
double getBigBlindSize()
Hand getBoard()
int getButtonSeat()
double getCurrentBetSize()
int getCurrentPlayerSeat()
double getEligiblePot(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seat
EmptySeatException,
- if the given seat is emptylong getGameID()
double getMainPotSize()
double getMinRaise()
int getNumActivePlayers()
int getNumActivePlayersNotAllIn()
int getNumPlayers()
int getNumRaises()
int getNumSeats()
int getNumToAct()
int getNumWinners()
int getNumberOfAllInPlayers()
PlayerInfo getPlayer(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seatPlayerInfo getPlayer(java.lang.String arg0)
arg0
- the name of desired player
java.lang.String getPlayerName(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seat
EmptySeatException,
- if the given seat is emptyint getPlayerSeat(java.lang.String arg0)
arg0
- the name of the player
java.util.List<PlayerInfo> getPlayersInPot(double arg0)
arg0
- the amount a player must have in the pot to be eligible to win it
int getSmallBlindSeat()
double getSmallBlindSize()
Stage getStage()
double getStakes()
double getTotalPotSize()
int getUnacted()
boolean inGame(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seatboolean isActive(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seat
EmptySeatException,
- if the given seat is emptyboolean isCommitted(int arg0)
arg0
- position of the player
InvalidSeatException,
- if the table does not have such a seat
EmptySeatException,
- if the given seat is emptyboolean isFixedLimit()
boolean isNoLimit()
boolean isPotLimit()
boolean isReverseBlinds()
boolean isSimulation()
boolean isZipMode()
int nextActivePlayer(int arg0)
arg0
- position
InvalidSeatException,
- if the table does not have such a seatint nextPlayer(int arg0)
arg0
- position
InvalidSeatException,
- if the table does not have such a seatint nextSeat(int arg0)
arg0
- position
InvalidSeatException,
- if the table does not have such a seatint previousPlayer(int arg0)
arg0
- position
InvalidSeatException,
- if the table does not have such a seat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |