Enum Class BodyPartType
- All Implemented Interfaces:
Serializable
,Comparable<BodyPartType>
,Constable
-
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 BodyPartType
FromIndex
(int index) static BodyPartType
FromString
(String str) getBiteWoundModel
(boolean female) static float
getBleedingTimeModifyer
(int index) getCutWoundModel
(boolean female) static float
getDamageModifyer
(int index) static String
static float
GetDistToCore
(BodyPartType bodyPartType) static float
GetMaxActionPenalty
(BodyPartType bodyPartType) static float
GetMaxMovementPenalty
(BodyPartType bodyPartType) static float
getPainModifyer
(int index) static BodyPartType
getScratchWoundModel
(boolean female) static float
GetSkinSurface
(BodyPartType bodyPartType) static float
GetUmbrellaMod
(BodyPartType bodyPartType) int
index()
static int
ToIndex
(BodyPartType BPT) static String
ToString
(BodyPartType BPT) static BodyPartType
Returns the enum constant of this class with the specified name.static BodyPartType[]
values()
Returns an array containing the constants of this enum class, 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 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
-
FromIndex
-
index
public int index() -
FromString
-
getPainModifyer
public static float getPainModifyer(int index) -
getDisplayName
-
ToIndex
-
ToString
-
getDamageModifyer
public static float getDamageModifyer(int index) -
getBleedingTimeModifyer
public static float getBleedingTimeModifyer(int index) -
GetSkinSurface
-
GetDistToCore
-
GetUmbrellaMod
-
GetMaxActionPenalty
-
GetMaxMovementPenalty
-
getBandageModel
-
getBiteWoundModel
-
getScratchWoundModel
-
getCutWoundModel
-
getRandom
-