model.entities.games.SlotStrategyBuilder
Builder for constructing slot machine betting strategies.
Uses the builder pattern to configure bet amounts and conditions before creating the final strategy instance.
Value parameters
-
betAmount
-
optional bet amount (defaults to 0.5 if not specified)
-
condition
-
optional execution condition function
Attributes
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Sets the betting amount for the strategy.
Sets the betting amount for the strategy.
Value parameters
-
amount
-
the monetary amount to bet (must be positive)
Attributes
-
Returns
-
updated builder with the specified bet amount
-
Throws
-
IllegalArgumentException
if amount is not positive
Sets the execution condition and creates the final strategy instance.
Sets the execution condition and creates the final strategy instance.
Value parameters
-
cond
-
the condition under which the strategy should execute
Attributes
-
Returns
-
configured SlotStrategyInstance ready for execution
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product