Package zombie.characters.BodyDamage
Enum BodyPartType
- All Implemented Interfaces:
Serializable
,Comparable<BodyPartType>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic BodyPartType
FromIndex
(int int1) static BodyPartType
FromString
(String string) getBiteWoundModel
(boolean boolean1) static float
getBleedingTimeModifyer
(int int1) getCutWoundModel
(boolean boolean1) static float
getDamageModifyer
(int int1) static String
getDisplayName
(BodyPartType bodyPartType) static float
GetDistToCore
(BodyPartType bodyPartType) static float
GetMaxActionPenalty
(BodyPartType bodyPartType) static float
GetMaxMovementPenalty
(BodyPartType bodyPartType) static float
getPainModifyer
(int int1) static BodyPartType
getScratchWoundModel
(boolean boolean1) static float
GetSkinSurface
(BodyPartType bodyPartType) static float
GetUmbrellaMod
(BodyPartType bodyPartType) int
index()
static int
ToIndex
(BodyPartType bodyPartType) static String
ToString
(BodyPartType bodyPartType) static BodyPartType
Returns the enum constant of this type with the specified name.static BodyPartType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
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
-
MAX
-
-
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
FromIndex
-
index
public int index() -
FromString
-
getPainModifyer
public static float getPainModifyer(int int1) -
getDisplayName
-
ToIndex
-
ToString
-
getDamageModifyer
public static float getDamageModifyer(int int1) -
getBleedingTimeModifyer
public static float getBleedingTimeModifyer(int int1) -
GetSkinSurface
-
GetDistToCore
-
GetUmbrellaMod
-
GetMaxActionPenalty
-
GetMaxMovementPenalty
-
getBandageModel
-
getBiteWoundModel
-
getScratchWoundModel
-
getCutWoundModel
-
getRandom
-