Package org.cspoker.common.elements.player

Examples of org.cspoker.common.elements.player.MutableWinner


   *            The pot to divide between all winners.
   */
  private void splitPot(List<MutableSeatedPlayer> winners, MutablePot pot) {
    for (MutableSeatedPlayer winner : winners) {
      if (!winnersMap.containsKey(winner.getId())) {
        winnersMap.put(winner.getId(), new MutableWinner(winner));
      }
    }

    int nbChips_per_winner = pot.getChips().getValue() / winners.size();

View Full Code Here

TOP

Related Classes of org.cspoker.common.elements.player.MutableWinner

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.