Class VariableAmount.BaseAndVariance

java.lang.Object
org.spongepowered.api.util.weighted.VariableAmount.BaseAndVariance
All Implemented Interfaces:
DataSerializable, VariableAmount
Enclosing interface:
VariableAmount

public static class VariableAmount.BaseAndVariance extends Object implements VariableAmount
Represents a base amount with a variance, the final amount will be the base amount plus or minus a random amount between zero (inclusive) and the variance (exclusive).