Package dev.twilite.game.wrapper
Enum Class Hitmark.Category
- All Implemented Interfaces:
Serializable,Comparable<Hitmark.Category>,Constable
- Enclosing class:
Hitmark
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic Hitmark.CategorybyType(int type) booleanmine()booleanothers()inttype()static Hitmark.CategoryReturns the enum constant of this class with the specified name.static Hitmark.Category[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CORRUPTION
-
DISEASE_BLOCKED
-
DISEASE
-
VENOM
-
HEAL
-
CYAN_UP
-
BLOCK_ME
-
BLOCK_OTHER
-
CYAN_DOWN
-
DAMAGE_ME
-
DAMAGE_OTHER
-
DAMAGE_ME_CYAN
-
DAMAGE_OTHER_CYAN
-
DAMAGE_ME_ORANGE
-
DAMAGE_OTHER_ORANGE
-
DAMAGE_ME_YELLOW
-
DAMAGE_OTHER_YELLOW
-
DAMAGE_ME_WHITE
-
DAMAGE_OTHER_WHITE
-
DAMAGE_MAX_ME
-
DAMAGE_MAX_ME_CYAN
-
DAMAGE_MAX_ME_ORANGE
-
DAMAGE_MAX_ME_YELLOW
-
DAMAGE_MAX_ME_WHITE
-
DAMAGE_ME_POISE
-
DAMAGE_OTHER_POISE
-
DAMAGE_MAX_ME_POISE
-
PRAYER_DRAIN
-
POISON
-
BLEED
-
SANITY_DRAIN
-
SANITY_RESTORE
-
DOOM
-
BURN
-
UNKNOWN
-
-
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
-
byType
-
type
public int type() -
mine
public boolean mine() -
others
public boolean others()
-