Package org.cspoker.client.common.gamestate.modifiers

Examples of org.cspoker.client.common.gamestate.modifiers.FoldState


    context.fold();
  }

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


      if (noDefaultWinner && !roundEnds) {
        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())
View Full Code Here

    super.onBlind(blindEvent);
  }
 
  @Override
  public void onFold(FoldEvent foldEvent) {
    tableState.setGameState(new FoldState(tableState.getGameState(), foldEvent));
    super.onFold(foldEvent);
  }
View Full Code Here

TOP

Related Classes of org.cspoker.client.common.gamestate.modifiers.FoldState

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.