Interface DoublingDecision
- All Known Implementing Classes:
DoublingDecision.Offer, DoublingDecision.Response
An authoritative stake-doubling decision awaiting bot action.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordAn offer decision awaiting the turn owner's choice to offer a double or roll.static final recordA response decision awaiting the responder's choice to accept or decline an offer. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionid()Returns the opaque decision identifier spanning the doubling episode.kind()Returns the decision kind, exactlyofferorresponse.longReturns the proposed doubled stake in whole PLAY_CREDIT units.seat()Returns the seat required to answer this decision, exactlyWhiteorBlack.
-
Field Details
-
ID_PATTERN
Regular expression pattern for a valid decision id. -
KIND_OFFER
-
KIND_RESPONSE
-
-
Method Details
-
id
String id()Returns the opaque decision identifier spanning the doubling episode.- Returns:
- the decision id
-
kind
-
seat
String seat()Returns the seat required to answer this decision, exactlyWhiteorBlack.- Returns:
- the decision seat
-
proposedStake
long proposedStake()Returns the proposed doubled stake in whole PLAY_CREDIT units.- Returns:
- the proposed stake
-