|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Player | |
---|---|
blackjackanalyst | |
blackjackanalyst.observer |
Uses of Player in blackjackanalyst |
---|
Methods in blackjackanalyst that return types with arguments of type Player | |
---|---|
java.util.List<Player> |
Table.getPlayers()
Returns a list containing all the players at the blackjack table. |
Methods in blackjackanalyst with parameters of type Player | |
---|---|
boolean |
Table.addPlayer(Player p)
Attempts to add the given player to the table. |
void |
TableObserver.playerBets(Player betting_player,
int bet_amount,
int bankroll)
This method is invoked when a player makes a bet. |
void |
TableObserver.playerBlackjack(Player dealt_player,
PlayerHand player_hand,
int amount_won,
int new_bankroll)
This method is invoked when a player gets a blackjack. |
void |
TableObserver.playerBusts(Player dealt_player,
PlayerHand player_hand,
int amount_lost,
int new_bankroll)
This method is invoked when a player busts. |
void |
TableObserver.playerDealt(Player dealt_player,
PlayerHand player_hand)
This method is invoked when a player is dealt a new hand. |
void |
TableObserver.playerDoublesDown(Player dealt_player,
Card dealt_card,
PlayerHand new_hand)
This method is invoked when a player doubles down and is drawn a final card. |
void |
TableObserver.playerDraws(Player dealt_player,
Card dealt_card,
PlayerHand new_hand)
This method is invoked when a player hits and is drawn a new card. |
void |
TableObserver.playerInsures(Player betting_player,
int bet_amount,
int bankroll)
This method is invoked when a player makes his insurance bet. |
void |
TableObserver.playerJoins(Player joined_player)
This method is invoked when a player joins a table. |
void |
TableObserver.playerLeaves(Player left_player)
This method is invoked when a player leaves the table. |
void |
TableObserver.playerLoses(Player dealt_player,
PlayerHand player_hand,
int amount_lost,
int new_bankroll)
This method is invoked when a player loses. |
void |
TableObserver.playerLosesInsurance(Player dealt_player,
int amount_lost,
int new_bankroll)
This method is invoked when a player loses his insurance bet. |
void |
TableObserver.playerPush(Player dealt_player,
PlayerHand player_hand,
int held_bankroll)
This method is invoked when a player ties the dealer, or pushes. |
void |
TableObserver.playerSplits(Player dealt_player,
PlayerHand player_hand)
This method is invoked when a player splits the hand. |
void |
TableObserver.playerStands(Player dealt_player,
PlayerHand player_hand)
This method is invoked when a player stands. |
void |
TableObserver.playerWins(Player dealt_player,
PlayerHand player_hand,
int amount_won,
int new_bankroll)
This method is invoked when a player wins, but does not get blackjack. |
void |
TableObserver.playerWinsInsurance(Player dealt_player,
int amount_won,
int new_bankroll)
This method is invoked when a player wins his insurance bet. |
boolean |
Table.removePlayer(Player p)
Attempts to remove the given player from the table. |
Method parameters in blackjackanalyst with type arguments of type Player | |
---|---|
void |
TableObserver.newRound(java.util.List<Player> players)
This method is invoked before each new round of blackjack. |
Uses of Player in blackjackanalyst.observer |
---|
Methods in blackjackanalyst.observer that return Player | |
---|---|
Player |
ConsolePlayerObserver.getPlayer()
Returns the player this object observes. |
Methods in blackjackanalyst.observer with parameters of type Player | |
---|---|
void |
WinLossTableObserver.playerBets(Player betting_player,
int bet_amount,
int bankroll)
|
void |
ConsoleTableObserver.playerBets(Player betting_player,
int bet_amount,
int bankroll)
|
void |
AbstractTableObserver.playerBets(Player betting_player,
int bet_amount,
int bankroll)
|
void |
WinLossTableObserver.playerBlackjack(Player dealt_player,
PlayerHand player_hand,
int amount_won,
int new_bankroll)
|
void |
ConsoleTableObserver.playerBlackjack(Player dealt_player,
PlayerHand player_hand,
int amount_won,
int new_bankroll)
|
void |
AbstractTableObserver.playerBlackjack(Player dealt_player,
PlayerHand player_hand,
int amount_won,
int new_bankroll)
|
void |
WinLossTableObserver.playerBusts(Player dealt_player,
PlayerHand player_hand,
int amount_lost,
int new_bankroll)
|
void |
ConsoleTableObserver.playerBusts(Player dealt_player,
PlayerHand player_hand,
int amount_lost,
int new_bankroll)
|
void |
AbstractTableObserver.playerBusts(Player dealt_player,
PlayerHand player_hand,
int amount_lost,
int new_bankroll)
|
void |
WinLossTableObserver.playerDealt(Player dealt_player,
PlayerHand player_hand)
|
void |
ConsoleTableObserver.playerDealt(Player dealt_player,
PlayerHand player_hand)
|
void |
AbstractTableObserver.playerDealt(Player dealt_player,
PlayerHand player_hand)
|
void |
WinLossTableObserver.playerDoublesDown(Player dealt_player,
Card dealt_card,
PlayerHand new_hand)
|
void |
ConsoleTableObserver.playerDoublesDown(Player dealt_player,
Card dealt_card,
PlayerHand new_hand)
|
void |
AbstractTableObserver.playerDoublesDown(Player dealt_player,
Card dealt_card,
PlayerHand new_hand)
|
void |
WinLossTableObserver.playerDraws(Player dealt_player,
Card dealt_card,
PlayerHand new_hand)
|
void |
ConsoleTableObserver.playerDraws(Player dealt_player,
Card dealt_card,
PlayerHand new_hand)
|
void |
AbstractTableObserver.playerDraws(Player dealt_player,
Card dealt_card,
PlayerHand new_hand)
|
void |
WinLossTableObserver.playerInsures(Player betting_player,
int bet_amount,
int bankroll)
|
void |
ConsoleTableObserver.playerInsures(Player betting_player,
int bet_amount,
int bankroll)
|
void |
AbstractTableObserver.playerInsures(Player betting_player,
int bet_amount,
int new_bankroll)
|
void |
WinLossTableObserver.playerJoins(Player joined_player)
|
void |
ConsoleTableObserver.playerJoins(Player joined_player)
|
void |
AbstractTableObserver.playerJoins(Player joined_player)
|
void |
WinLossTableObserver.playerLeaves(Player left_player)
|
void |
ConsoleTableObserver.playerLeaves(Player left_player)
|
void |
AbstractTableObserver.playerLeaves(Player left_player)
|
void |
WinLossTableObserver.playerLoses(Player dealt_player,
PlayerHand player_hand,
int amount_lost,
int new_bankroll)
|
void |
ConsoleTableObserver.playerLoses(Player dealt_player,
PlayerHand player_hand,
int amount_lost,
int new_bankroll)
|
void |
AbstractTableObserver.playerLoses(Player dealt_player,
PlayerHand player_hand,
int amount_lost,
int new_bankroll)
|
void |
WinLossTableObserver.playerLosesInsurance(Player dealt_player,
int amount_lost,
int new_bankroll)
|
void |
ConsoleTableObserver.playerLosesInsurance(Player dealt_player,
int amount_lost,
int new_bankroll)
|
void |
AbstractTableObserver.playerLosesInsurance(Player dealt_player,
int amount_lost,
int new_bankroll)
|
void |
WinLossTableObserver.playerPush(Player dealt_player,
PlayerHand player_hand,
int held_bankroll)
|
void |
ConsoleTableObserver.playerPush(Player dealt_player,
PlayerHand player_hand,
int held_bankroll)
|
void |
AbstractTableObserver.playerPush(Player dealt_player,
PlayerHand player_hand,
int held_bankroll)
|
void |
WinLossTableObserver.playerSplits(Player dealt_player,
PlayerHand player_hand)
|
void |
ConsoleTableObserver.playerSplits(Player dealt_player,
PlayerHand player_hand)
|
void |
AbstractTableObserver.playerSplits(Player dealt_player,
PlayerHand player_hand)
|
void |
WinLossTableObserver.playerStands(Player dealt_player,
PlayerHand player_hand)
|
void |
ConsoleTableObserver.playerStands(Player dealt_player,
PlayerHand player_hand)
|
void |
AbstractTableObserver.playerStands(Player dealt_player,
PlayerHand player_hand)
|
void |
WinLossTableObserver.playerWins(Player dealt_player,
PlayerHand player_hand,
int amount_won,
int new_bankroll)
|
void |
ConsoleTableObserver.playerWins(Player dealt_player,
PlayerHand player_hand,
int amount_won,
int new_bankroll)
|
void |
AbstractTableObserver.playerWins(Player dealt_player,
PlayerHand player_hand,
int amount_won,
int new_bankroll)
|
void |
WinLossTableObserver.playerWinsInsurance(Player dealt_player,
int amount_won,
int new_bankroll)
|
void |
ConsoleTableObserver.playerWinsInsurance(Player dealt_player,
int amount_won,
int new_bankroll)
|
void |
AbstractTableObserver.playerWinsInsurance(Player dealt_player,
int amount_won,
int new_bankroll)
|
Method parameters in blackjackanalyst.observer with type arguments of type Player | |
---|---|
void |
WinLossTableObserver.newRound(java.util.List<Player> players)
|
void |
ConsoleTableObserver.newRound(java.util.List<Player> players)
|
void |
AbstractTableObserver.newRound(java.util.List<Player> players)
|
Constructors in blackjackanalyst.observer with parameters of type Player | |
---|---|
ConsolePlayerObserver(Player _p)
Creates a new player observer that writes to the console. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |