示例#1
0
 protected void playerLosesInsurance(Player player, int amountLost, int newBankroll) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerLosesInsurance(player, amountLost, newBankroll);
   }
 }
示例#2
0
 protected void playerBlackjack(Player player, PlayerHand hand, int amountWon, int newBankroll) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerBlackjack(player, hand, amountWon, newBankroll);
   }
 }
示例#3
0
 protected void playerPush(Player player, PlayerHand hand, int heldBankroll) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerPush(player, hand, heldBankroll);
   }
 }
示例#4
0
 protected void playerDoublesDown(Player player, Card card, PlayerHand hand) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerDoublesDown(player, card, hand);
   }
 }
示例#5
0
 protected void playerLoses(Player player, PlayerHand hand, int amountLost, int newBankroll) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerLoses(player, hand, amountLost, newBankroll);
   }
 }
示例#6
0
 protected void playerDraws(Player player, Card dealtCard, PlayerHand hand) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerDraws(player, dealtCard, hand);
   }
 }
示例#7
0
 protected void playerSplits(Player player, PlayerHand hand) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerSplits(player, hand);
   }
 }
示例#8
0
 protected void playerLeaves(Player player) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerLeaves(player);
   }
 }
示例#9
0
 protected void playerInsures(Player player, int amount, int bankroll) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.playerInsures(player, amount, bankroll);
   }
 }
示例#10
0
 protected void dealerDraws(Card card, Hand newHand) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.dealerDraws(card, newHand);
   }
 }
示例#11
0
 protected void dealerBusts(Hand hand) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.dealerBusts(hand);
   }
 }
示例#12
0
 protected void dealerBlackjack(Hand hand) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.dealerBlackjack(hand);
   }
 }
示例#13
0
 protected void dealerDealt(Card downCard, Hand upCard) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.dealerDealt(downCard, upCard);
   }
 }
示例#14
0
 protected void dealerDealt(Card upCard) {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.dealerDealt(upCard);
   }
 }
示例#15
0
 protected void shoeShuffled() {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.shoeShuffled();
   }
 }
示例#16
0
 protected void newRound() {
   for (TableObserver tableObserver : tableObservers) {
     tableObserver.newRound(playersReadOnly);
   }
 }