Package org.cspoker.client.common.gamestate.modifiers

Examples of org.cspoker.client.common.gamestate.modifiers.RaiseState


    GameState raiseState;
    if (movedAmount >= stack) {
      raiseState = new AllInState(gameState, new AllInEvent(actor, movedAmount));
    } else {
      raiseState = new RaiseState(gameState, new RaiseEvent(actor, amount, movedAmount));
    }
    return raiseState;
  }
View Full Code Here


    super.onBet(betEvent);
  }
 
  @Override
  public void onRaise(RaiseEvent raiseEvent) {
    tableState.setGameState(new RaiseState(tableState.getGameState(), raiseEvent));
    super.onRaise(raiseEvent);
  }
View Full Code Here

TOP

Related Classes of org.cspoker.client.common.gamestate.modifiers.RaiseState

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.