Enum Class BodyPartType

java.lang.Object
java.lang.Enum<BodyPartType>
zombie.characters.BodyDamage.BodyPartType
All Implemented Interfaces:
Serializable, Comparable<BodyPartType>, Constable

public enum BodyPartType extends Enum<BodyPartType>
  • Enum Constant Details

  • Method Details

    • values

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

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

      public static BodyPartType FromIndex(int index)
    • index

      public int index()
    • FromString

      public static BodyPartType FromString(String str)
    • getPainModifyer

      public static float getPainModifyer(int index)
    • getDisplayName

      public static String getDisplayName(BodyPartType BPT)
    • ToIndex

      public static int ToIndex(BodyPartType BPT)
    • ToString

      public static String ToString(BodyPartType BPT)
    • getDamageModifyer

      public static float getDamageModifyer(int index)
    • getBleedingTimeModifyer

      public static float getBleedingTimeModifyer(int index)
    • 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 String getBandageModel()
    • getBiteWoundModel

      public String getBiteWoundModel(boolean female)
    • getScratchWoundModel

      public String getScratchWoundModel(boolean female)
    • getCutWoundModel

      public String getCutWoundModel(boolean female)
    • getRandom

      public static BodyPartType getRandom()