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 ConstantsEnum ConstantDescription - 
Method Summary
Modifier and TypeMethodDescriptionstatic BodyPartTypeFromIndex(int int1) static BodyPartTypeFromString(String string) getBiteWoundModel(boolean boolean1) static floatgetBleedingTimeModifyer(int int1) getCutWoundModel(boolean boolean1) static floatgetDamageModifyer(int int1) static StringgetDisplayName(BodyPartType bodyPartType) static floatGetDistToCore(BodyPartType bodyPartType) static floatGetMaxActionPenalty(BodyPartType bodyPartType) static floatGetMaxMovementPenalty(BodyPartType bodyPartType) static floatgetPainModifyer(int int1) static BodyPartTypegetScratchWoundModel(boolean boolean1) static floatGetSkinSurface(BodyPartType bodyPartType) static floatGetUmbrellaMod(BodyPartType bodyPartType) intindex()static intToIndex(BodyPartType bodyPartType) static StringToString(BodyPartType bodyPartType) static BodyPartTypeReturns 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
 
 -