|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PlayerInfo | |
---|---|
poker |
Uses of PlayerInfo in poker |
---|
Methods in poker that return PlayerInfo | |
---|---|
PlayerInfo |
GameInfo.getCurrentPlayerInfo()
|
PlayerInfo |
GameInfo.getFirstPlayerWithMostIn()
Find the first player who has the most invested in the pot. |
PlayerInfo |
GameInfo.getPlayerInfo(int i)
Get a PlayerInfo by seat number |
PlayerInfo |
GameInfo.getPlayerInfo(java.lang.String name)
Given a name, obtain the PlayerInfo object for that player |
PlayerInfo |
GameInfo.loadPlayerInfo(java.lang.String name)
Adds a new player to the game. |
Methods in poker with parameters of type PlayerInfo | |
---|---|
boolean |
GameInfo.canRaise(PlayerInfo pi)
Determine if the player is allowed to raise. |
void |
Pot.payPot(double amount,
PlayerInfo pi)
|
void |
GameInfo.payPot(double amount,
PlayerInfo pi)
Pay an amount to the pot, from the given player |
Constructors in poker with parameters of type PlayerInfo | |
---|---|
PlayerInfo(PlayerInfo pi,
GameInfo gi)
Copy constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |