public static final class VariableAmount.BaseAndVariance extends Object implements VariableAmount
VariableAmount.BaseAndAddition, VariableAmount.BaseAndVariance, VariableAmount.Fixed, VariableAmount.OptionalAmount| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
double |
getAmount(Random random)
Gets an instance of the variable amount depending on the given random
object.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbaseWithOptionalAddition, baseWithOptionalAddition, baseWithOptionalVariance, baseWithOptionalVariance, baseWithRandomAddition, baseWithRandomAddition, baseWithVariance, baseWithVariance, fixed, getAmount, getFlooredAmount, getFlooredAmount, rangepublic double getAmount(@Nonnull Random random)
VariableAmountgetAmount in interface VariableAmountrandom - The random objectCopyright © 2022. All rights reserved.