Beispiel #1
0
 /*
  * (non-Javadoc)
  *
  * @see org.ozsoft.texasholdem.Client#act(java.util.Set)
  */
 public Action act(Set<Action> allowedActions) {
   boardPanel.setMessage("Please select an action.");
   Action action = controlPanel.getUserInput(allowedActions);
   controlPanel.waitForUserInput();
   this.pack();
   return action;
 }
Beispiel #2
0
 @Override
 public Action act(int minBet, int currentBet, Set<Action> allowedActions) {
   boardPanel.setMessage("Please select an action:");
   return controlPanel.getUserInput(minBet, humanPlayer.getCash(), allowedActions);
 }