Examples of SeatedPlayerState


Examples of org.cspoker.client.common.playerstate.SeatedPlayerState

  private final ImmutableBiMap<SeatId, PlayerId> seatMap;
 
  public SitInState(GameState gameState, SitInEvent event) {
    super(gameState);
    this.event = event;
    playerState = new SeatedPlayerState(event.getPlayer());
    seatMap = (new ImmutableBiMap.Builder<SeatId, PlayerId>())
      .putAll(super.getSeatMap())
      .put(playerState.getSeatId(), playerState.getPlayerId())
      .build();
  }
View Full Code Here

Examples of org.cspoker.client.common.playerstate.SeatedPlayerState

      }
    }
    if (selected == null || !selected.isSittingIn()) {
      return null;
    }
    return new SeatedPlayerState(selected);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.