Enum Class TreeType
- All Implemented Interfaces:
Serializable
,Comparable<TreeType>
,Constable
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 ConstantsEnum ConstantDescriptionA 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 TypeMethodDescriptiongetKey()
Retrieves the configuration key for the skill tree arrangementstatic TreeType
Returns the enum constant of this class with the specified name.static TreeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
A basic arrangement that puts base skills at the top, and the skills that require those directly below them. -
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
Arranges skills by their initial level requirement, putting lowest level skills at the top and higher level skills at the bottom. -
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
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
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 nameNullPointerException
- if the argument is null
-
getKey
Retrieves the configuration key for the skill tree arrangement- Returns:
- configuration key for the skill tree arrangement
-