Class DefaultDoubleThresholdCondition

java.lang.Object
com.hypixel.hytale.procedurallib.condition.DefaultDoubleThresholdCondition
All Implemented Interfaces:
IDoubleThreshold

public class DefaultDoubleThresholdCondition extends Object implements IDoubleThreshold
  • Field Details

  • Constructor Details

    • DefaultDoubleThresholdCondition

      public DefaultDoubleThresholdCondition(boolean result)
  • Method Details

    • isResult

      public boolean isResult()
    • eval

      public boolean eval(double d)
      Specified by:
      eval in interface IDoubleThreshold
    • eval

      public boolean eval(double d, double factor)
      Specified by:
      eval in interface IDoubleThreshold
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object