Class DoubleThreshold.Single

java.lang.Object
com.hypixel.hytale.procedurallib.condition.DoubleThreshold.Single
All Implemented Interfaces:
IDoubleThreshold
Enclosing class:
DoubleThreshold

public static class DoubleThreshold.Single extends Object implements IDoubleThreshold
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final double
     
    protected final double
     
    protected final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Single(double min, double max)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    eval(double d)
     
    boolean
    eval(double d, double factor)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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