/* * (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; }
@Override public Action act(int minBet, int currentBet, Set<Action> allowedActions) { boardPanel.setMessage("Please select an action:"); return controlPanel.getUserInput(minBet, humanPlayer.getCash(), allowedActions); }