public static final class MultiFactorTracker.Builder
extends java.lang.Object
MultiFactorTracker
object.Modifier and Type | Method and Description |
---|---|
MultiFactorTracker |
build()
Builds a
MultiFactorTracker block. |
MultiFactorTracker.Builder |
optFactor(float factor)
Set the value of the multiplicative factor.
|
MultiFactorTracker.Builder |
setBaseValue(float baseValue)
Sets the initial value after no steps.
|
MultiFactorTracker.Builder |
setSteps(int[] steps)
Sets an array of integers indicating when the value should be changed, usually in an
uneven interval of steps.
|
public MultiFactorTracker.Builder setBaseValue(float baseValue)
baseValue
- the initial valueBuilder
public MultiFactorTracker.Builder setSteps(int[] steps)
steps
- an array of integers indicating when the value should be changeBuilder
public MultiFactorTracker.Builder optFactor(float factor)
factor
- the value of the multiplicative factorBuilder
public MultiFactorTracker build()
MultiFactorTracker
block.MultiFactorTracker
block