Enum Class TreeType

java.lang.Object
java.lang.Enum<TreeType>
studio.magemonkey.fabled.api.enums.TreeType
All Implemented Interfaces:
Serializable, Comparable<TreeType>, Constable

public enum TreeType extends Enum<TreeType>

Types of skill tree arrangements that can be used in the configuration.

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A basic arrangement that puts base skills on the left, and the skills that require those directly to the right of them.
    A basic arrangement that puts base skills at the top, and the skills that require those directly below them.
    Arranges skills by their initial level requirement, putting lowest level skills to the left and higher level skills to the right.
    Arranges skills by their initial level requirement, putting lowest level skills at the top and higher level skills at the bottom.
    Arranges basic skills not needed by other skills on the left hand side, other basic skills at the top right, and the skills that require those below them.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the configuration key for the skill tree arrangement
    static TreeType
    Returns the enum constant of this class with the specified name.
    static TreeType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • BASIC_HORIZONTAL

      public static final TreeType BASIC_HORIZONTAL
      A basic arrangement that puts base skills on the left, and the skills that require those directly to the right of them.
    • BASIC_VERTICAL

      public static final TreeType BASIC_VERTICAL
      A basic arrangement that puts base skills at the top, and the skills that require those directly below them.
    • LEVEL_HORIZONTAL

      public static final TreeType LEVEL_HORIZONTAL
      Arranges skills by their initial level requirement, putting lowest level skills to the left and higher level skills to the right.
    • LEVEL_VERTICAL

      public static final TreeType LEVEL_VERTICAL
      Arranges skills by their initial level requirement, putting lowest level skills at the top and higher level skills at the bottom.
    • REQUIREMENT

      public static final TreeType REQUIREMENT
      Arranges basic skills not needed by other skills on the left hand side, other basic skills at the top right, and the skills that require those below them.
  • Method Details

    • values

      public static TreeType[] 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 TreeType 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
    • getKey

      public String getKey()
      Retrieves the configuration key for the skill tree arrangement
      Returns:
      configuration key for the skill tree arrangement