Class DoubleThreshold.Single
java.lang.Object
com.hypixel.hytale.procedurallib.condition.DoubleThreshold.Single
- All Implemented Interfaces:
IDoubleThreshold
- Enclosing class:
DoubleThreshold
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
min
protected final double min -
max
protected final double max -
halfRange
protected final double halfRange
-
-
Constructor Details
-
Single
public Single(double min, double max)
-
-
Method Details
-
eval
public boolean eval(double d) - Specified by:
evalin interfaceIDoubleThreshold
-
eval
public boolean eval(double d, double factor) - Specified by:
evalin interfaceIDoubleThreshold
-
toString
-