@JsonIgnore public int getCurrentBetAmount() { int betAmount = 0; for (TokenSet bet : playersBets.values()) { int curAmount = TokenSetValueEvaluator.evaluateTokenSetValue(this.tokenValueDefinition, bet); if (curAmount > betAmount) betAmount = curAmount; } return betAmount; }
public int getPlayerCurrentBetAmount(Player p) { return TokenSetValueEvaluator.evaluateTokenSetValue( this.tokenValueDefinition, this.playersBets.get(p.getAID())); }
@JsonIgnore public int getPotAmount() { return TokenSetValueEvaluator.evaluateTokenSetValue(this.tokenValueDefinition, this.pot); }
@JsonIgnore public int getGlobalCurrentBetAmount() { return TokenSetValueEvaluator.evaluateTokenSetValue( this.tokenValueDefinition, this.getGlobalCurrentBet()); }