Package org.cspoker.common.api.lobby.holdemtable.event

Examples of org.cspoker.common.api.lobby.holdemtable.event.FoldEvent


    context.fold();
  }

  @Override
  public GameState getUnwrappedStateAfterAction() {
    return new FoldState(gameState, new FoldEvent(actor));
  }
View Full Code Here


        break forloop;
      }
    }
    if (!noDefaultWinner) {
      throw new DefaultWinnerException(first, new FoldState(gameState,
          new FoldEvent(actor)));
    }
    if (roundEnds
        && gameState.getRound().equals(Round.PREFLOP)
        && actor.equals(gameState.getSmallBlind())
        && gameState.getLargestBet() <= gameState
View Full Code Here

   */
  @Override
  public synchronized void fold(MutableSeatedPlayer player)
  throws IllegalActionException {
    round.fold(player);
    mediatingTable.publishFoldEvent(new FoldEvent(player.getId()));
    PlayingTableState.logger.info(player.getName() + ": folds");
    checkIfEndedAndChangeRound();
  }
View Full Code Here

      dispatch(new CheckEvent(getId(check)));
    }

    @Override
    public void onFold(Fold fold) {
      dispatch(new FoldEvent(getId(fold)));
    }
View Full Code Here

TOP

Related Classes of org.cspoker.common.api.lobby.holdemtable.event.FoldEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.