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

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


    game.dealNewHand();
    List<SeatedPlayer> players = new ArrayList<SeatedPlayer>(game.getNbCurrentDealPlayers());
    for (MutableSeatedPlayer player : game.getCurrentDealPlayers()) {
      players.add(player.getMemento());
    }
    gameMediator.publishNewDealEvent(new NewDealEvent(players, game.getDealer().getMemento()));
  }
View Full Code Here


        }
      }
      if(dealerId == null) throw new IllegalSelectorException();
      blindsDone.set(false);
      endLastRound.set(false);
      dispatch(new NewDealEvent(players, dealerId));
      dispatch(new NewRoundEvent(Round.PREFLOP, new Pots(0)));
    }
View Full Code Here

TOP

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

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.