Package org.cspoker.common.api.lobby.holdemtable.holdemplayer.context

Examples of org.cspoker.common.api.lobby.holdemtable.holdemplayer.context.HoldemPlayerContext


   */
  public synchronized HoldemPlayerContext sitIn(SeatId seatId, int buyIn, MutablePlayer player,
      HoldemPlayerListener holdemPlayerListener)
      throws IllegalActionException {
    try {
      HoldemPlayerContext toReturn = tableState.sitIn(seatId, new MutableSeatedPlayer(player, buyIn, true));
      sitInPlayers.put(player.getId(), holdemPlayerListener);
      subscribeHoldemPlayerListener(player.getId(), holdemPlayerListener);
      if (sitInPlayers.size() == 2 && configuration.isAutoDeal() && !tableState.isPlaying()) {
          tableState = tableState.getNextState();
          tableState.deal();
View Full Code Here

TOP

Related Classes of org.cspoker.common.api.lobby.holdemtable.holdemplayer.context.HoldemPlayerContext

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.