Package org.cspoker.client.common.playerstate

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


      }
    }
    if (selected == null || !selected.isSittingIn()) {
      return null;
    }
    return new SeatedPlayerState(selected);
  }
View Full Code Here

TOP

Related Classes of org.cspoker.client.common.playerstate.SeatedPlayerState

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.