565758596061626364
GameState raiseState; if (movedAmount >= stack) { raiseState = new AllInState(gameState, new AllInEvent(actor, movedAmount)); } else { raiseState = new RaiseState(gameState, new RaiseEvent(actor, amount, movedAmount)); } return raiseState; }
8182838485868788
super.onBet(betEvent); } @Override public void onRaise(RaiseEvent raiseEvent) { tableState.setGameState(new RaiseState(tableState.getGameState(), raiseEvent)); super.onRaise(raiseEvent); }