Interface IPlayerAction


public interface IPlayerAction
The IPlayerAction interface contains information related to one specific action by a player.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    The type of action: FOLD, CHECK, CALL or RAISE.
  • Method Summary

    Modifier and Type
    Method
    Description
    The type of action: FOLD, CHECK, CALL or RAISE.
    long
    Chip amount associated with the action.
    int
    The player associated with this action.
    int
    The street associated with this action.
  • Method Details

    • getAmount

      long getAmount()
      Chip amount associated with the action. The amount is always zero for folds and checks. For calls this is the effective amount to call by the player. For raises this is the amount raised to.
      Returns:
      amount in 1/100th of chips
    • getPlayer

      int getPlayer()
      The player associated with this action.
      Returns:
      player index
    • getStreet

      int getStreet()
      The street associated with this action.
      Returns:
      street index
    • getActionType

      IPlayerAction.ActionType getActionType()
      The type of action: FOLD, CHECK, CALL or RAISE. Bets and raises both use the action type RAISE.
      Returns:
      action type