model.entities.spawner.SpawningStrategyBuilder.StrategyWrapper
Provides operator overloads for convenient strategy composition.
Enables mathematical operations on SpawningStrategy instances using natural syntax like strategy + 5 or strategy * 2.0.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Multiplies the strategy's output by a scaling factor.
Multiplies the strategy's output by a scaling factor.
Value parameters
-
factor
-
the multiplication factor to apply
Attributes
-
Returns
-
new strategy with scaling applied
Adds a constant offset to the strategy's output.
Adds a constant offset to the strategy's output.
Value parameters
-
offset
-
the number to add to each spawning count
Attributes
-
Returns
-
new strategy with offset applied