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>
  • Enum Constant Details

  • Method Details

    • values

      public static BodyPartType[] 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

      public static BodyPartType valueOf​(java.lang.String name)
      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 name
      java.lang.NullPointerException - if the argument is null
    • FromIndex

      public static BodyPartType FromIndex​(int int1)
    • index

      public int index()
    • FromString

      public static BodyPartType FromString​(java.lang.String string)
    • getPainModifyer

      public static float getPainModifyer​(int int1)
    • getDisplayName

      public static java.lang.String getDisplayName​(BodyPartType bodyPartType)
    • ToIndex

      public static int ToIndex​(BodyPartType bodyPartType)
    • ToString

      public static java.lang.String ToString​(BodyPartType bodyPartType)
    • getDamageModifyer

      public static float getDamageModifyer​(int int1)
    • getBleedingTimeModifyer

      public static float getBleedingTimeModifyer​(int int1)
    • GetSkinSurface

      public static float GetSkinSurface​(BodyPartType bodyPartType)
    • GetDistToCore

      public static float GetDistToCore​(BodyPartType bodyPartType)
    • GetUmbrellaMod

      public static float GetUmbrellaMod​(BodyPartType bodyPartType)
    • GetMaxActionPenalty

      public static float GetMaxActionPenalty​(BodyPartType bodyPartType)
    • GetMaxMovementPenalty

      public static float GetMaxMovementPenalty​(BodyPartType bodyPartType)
    • 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

      public static BodyPartType getRandom()