Package zombie.characterTextures
Enum BloodBodyPartType
java.lang.Object
java.lang.Enum<BloodBodyPartType>
zombie.characterTextures.BloodBodyPartType
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BloodBodyPartType>
,java.lang.constant.Constable
public enum BloodBodyPartType extends java.lang.Enum<BloodBodyPartType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description Back
Foot_L
Foot_R
ForeArm_L
ForeArm_R
Groin
Hand_L
Hand_R
Head
LowerLeg_L
LowerLeg_R
m_characterMaskParts
MAX
Neck
Torso_Lower
Torso_Upper
UpperArm_L
UpperArm_R
UpperLeg_L
UpperLeg_R
-
Method Summary
Modifier and Type Method Description static BloodBodyPartType
FromIndex(int int1)
static BloodBodyPartType
FromString(java.lang.String string)
CharacterMask.Part[]
getCharacterMaskParts()
java.lang.String
getDisplayName()
static java.lang.String
getDisplayName(BloodBodyPartType bloodBodyPartType)
int
index()
static int
ToIndex(BloodBodyPartType bloodBodyPartType)
static BloodBodyPartType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BloodBodyPartType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
Hand_L
-
Hand_R
-
ForeArm_L
-
ForeArm_R
-
UpperArm_L
-
UpperArm_R
-
Torso_Upper
-
Torso_Lower
-
Head
-
Neck
-
Groin
-
UpperLeg_L
-
UpperLeg_R
-
LowerLeg_L
-
LowerLeg_R
-
Foot_L
-
Foot_R
-
Back
-
MAX
-
m_characterMaskParts
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
index
public int index() -
FromIndex
-
ToIndex
-
FromString
-
getCharacterMaskParts
-
getDisplayName
public java.lang.String getDisplayName() -
getDisplayName
-