Enum Class BloodClothingType
- All Implemented Interfaces:
Serializable
,Comparable<BloodClothingType>
,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 void
addBasicPatch
(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals) Should be used only for debug, use Clothing.addPatch for gameplay stuffstatic void
addBlood
(int count, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) static void
addBlood
(BloodBodyPartType part, float intensity, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) static void
addBlood
(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) static void
addDirt
(BloodBodyPartType part, float intensity, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) static void
addDirt
(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) static void
addHole
(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals) static boolean
addHole
(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) static void
calcTotalBloodLevel
(Clothing clothing) static void
calcTotalDirtLevel
(Clothing clothing) static BloodClothingType
fromString
(String str) static int
getCoveredPartCount
(ArrayList<BloodClothingType> bloodClothingType) static ArrayList
<BloodBodyPartType> getCoveredParts
(ArrayList<BloodClothingType> bloodClothingType) static ArrayList
<BloodBodyPartType> getCoveredParts
(ArrayList<BloodClothingType> bloodClothingType, ArrayList<BloodBodyPartType> result) static BloodClothingType
Returns the enum constant of this class with the specified name.static BloodClothingType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Apron
-
ShirtNoSleeves
-
JumperNoSleeves
-
Shirt
-
ShirtLongSleeves
-
Jumper
-
Jacket
-
LongJacket
-
ShortsShort
-
Trousers
-
Shoes
-
FullHelmet
-
Bag
-
Hands
-
Head
-
Neck
-
Groin
-
UpperBody
-
LowerBody
-
LowerLegs
-
UpperLegs
-
LowerArms
-
UpperArms
-
Hand_L
-
Hand_R
-
ForeArm_L
-
ForeArm_R
-
UpperArm_L
-
UpperArm_R
-
UpperLeg_L
-
UpperLeg_R
-
LowerLeg_L
-
LowerLeg_R
-
Foot_L
-
Foot_R
-
-
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
-
fromString
-
getCoveredParts
public static ArrayList<BloodBodyPartType> getCoveredParts(@Null ArrayList<BloodClothingType> bloodClothingType) -
getCoveredParts
public static ArrayList<BloodBodyPartType> getCoveredParts(@Null ArrayList<BloodClothingType> bloodClothingType, ArrayList<BloodBodyPartType> result) -
getCoveredPartCount
-
addBlood
public static void addBlood(int count, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) -
addBlood
public static void addBlood(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) -
addDirt
public static void addDirt(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) -
addHole
public static void addHole(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals) -
addHole
public static boolean addHole(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) -
addBasicPatch
public static void addBasicPatch(BloodBodyPartType part, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals) Should be used only for debug, use Clothing.addPatch for gameplay stuff -
addDirt
public static void addDirt(BloodBodyPartType part, float intensity, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) -
addBlood
public static void addBlood(BloodBodyPartType part, float intensity, HumanVisual humanVisual, ArrayList<ItemVisual> itemVisuals, boolean allLayers) -
calcTotalBloodLevel
-
calcTotalDirtLevel
-