Package org.cspoker.client.common

Examples of org.cspoker.client.common.SmartHoldemTableListener


   * @param table The table to display in the game window
   */
  public GameWindow(LobbyWindow lobbyWindow, DetailedHoldemTable table) {
    super(new Shell(lobbyWindow.getDisplay(), SWT.CLOSE | SWT.RESIZE), SWT.NONE, lobbyWindow.getClientCore());
    tableState = new GameStateContainer(new DetailedHoldemTableState(table));
    smartListener = new SmartHoldemTableListener(this, tableState);
    detailedTable = table;
    try {
      user = new UserSeatedPlayer(this, getClientCore(), smartListener);
    } catch (IllegalValueException e) {
      throw new IllegalStateException(e);
View Full Code Here


      game_id = table.getId();
      conn.startPolling(game_id);
      String bettingStruct = table.getBetting_structure();
      changeConfig(new TableConfiguration(100*Integer.parseInt(bettingStruct.split("-")[1]),0,default_rake));
      gameState = new GameStateContainer(new DetailedHoldemTableState(new DetailedHoldemTable(tableId, config)));
      smartListener = new SmartHoldemTableListener(holdemTableListener, gameState);
      tableInfoObtained.countDown();
      dispatch(new ConfigChangeEvent(config));
    }
View Full Code Here

TOP

Related Classes of org.cspoker.client.common.SmartHoldemTableListener

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.