Enum Class FadeCurve

java.lang.Object
java.lang.Enum<FadeCurve>
com.hypixel.hytale.protocol.FadeCurve
All Implemented Interfaces:
Serializable, Comparable<FadeCurve>, Constable

public enum FadeCurve extends Enum<FadeCurve>
  • Enum Constant Details

    • Linear

      public static final FadeCurve Linear
    • Logarithmic

      public static final FadeCurve Logarithmic
    • Exponential

      public static final FadeCurve Exponential
    • SCurve

      public static final FadeCurve SCurve
    • EqualPowerSine

      public static final FadeCurve EqualPowerSine
  • Field Details

    • VALUES

      public static final FadeCurve[] VALUES
  • Method Details

    • values

      public static FadeCurve[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FadeCurve valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • fromValue

      public static FadeCurve fromValue(int value)