Package zombie.characters.BodyDamage
Enum BodyPartType
java.lang.Object
java.lang.Enum<BodyPartType>
zombie.characters.BodyDamage.BodyPartType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BodyPartType>,java.lang.constant.Constable
public enum BodyPartType extends java.lang.Enum<BodyPartType>
-
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 Foot_LFoot_RForeArm_LForeArm_RGroinHand_LHand_RHeadLowerLeg_LLowerLeg_RMAXNeckTorso_LowerTorso_UpperUpperArm_LUpperArm_RUpperLeg_LUpperLeg_R -
Method Summary
Modifier and Type Method Description static BodyPartTypeFromIndex(int int1)static BodyPartTypeFromString(java.lang.String string)java.lang.StringgetBandageModel()java.lang.StringgetBiteWoundModel(boolean boolean1)static floatgetBleedingTimeModifyer(int int1)java.lang.StringgetCutWoundModel(boolean boolean1)static floatgetDamageModifyer(int int1)static java.lang.StringgetDisplayName(BodyPartType bodyPartType)static floatGetDistToCore(BodyPartType bodyPartType)static floatGetMaxActionPenalty(BodyPartType bodyPartType)static floatGetMaxMovementPenalty(BodyPartType bodyPartType)static floatgetPainModifyer(int int1)static BodyPartTypegetRandom()java.lang.StringgetScratchWoundModel(boolean boolean1)static floatGetSkinSurface(BodyPartType bodyPartType)static floatGetUmbrellaMod(BodyPartType bodyPartType)intindex()static intToIndex(BodyPartType bodyPartType)static java.lang.StringToString(BodyPartType bodyPartType)static BodyPartTypevalueOf(java.lang.String name)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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods 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
-
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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
public java.lang.String getBandageModel() -
getBiteWoundModel
public java.lang.String getBiteWoundModel(boolean boolean1) -
getScratchWoundModel
public java.lang.String getScratchWoundModel(boolean boolean1) -
getCutWoundModel
public java.lang.String getCutWoundModel(boolean boolean1) -
getRandom
-