641642643644645646647648649650651
jTotalPotLabel.setText("$" + amount); } private void initializePokerObserverForGUI() { m_game.attach(new PokerGameAdapter() { @Override public void gameBettingRoundEnded(GameRoundType r) {
818819820821822823824825826827828
}); } private void initializePokerObserverForConsole() { m_game.attach(new PokerGameAdapter() { @Override public void everythingEnded() {
160161162163164165166167168169170
initializePokerObserver(); } private void initializePokerObserver() { m_game.attach(new PokerGameAdapter() { @Override public void playerActionNeeded(PlayerInfo p, PlayerInfo last) {
168169170171172173174175176177178
new Thread(this).start(); } private void initializePokerObserver() { m_game.attach(new PokerGameAdapter() { @Override public void gameBettingRoundEnded(GameRoundType r) { final List<PotInfo> pots = m_game.getTable().getPots();