Package org.cspoker.external.pokersource.commands.poker

Examples of org.cspoker.external.pokersource.commands.poker.Raise


    if(!isSittingIn) {
      throw new IllegalActionException("Can't act when not sitting in.");
    }
    try {
      int callValue = gameStateContainer.getGameState().getCallValue(new PlayerId(serial));
      conn.sendRemote(new Raise(serial, game_id, callValue+amount));
    } catch (JSONException e) {
      throw new IllegalActionException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.cspoker.external.pokersource.commands.poker.Raise

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.