Class FallingConstants
java.lang.Object
zombie.characters.FallingConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FallSeverity
getFallSeverity
(float float0) static float
getIsoImpactSpeedFromHeight
(float float1) static boolean
isDamagingFall
(float float0) static boolean
isFall
(float float0) static boolean
isHardFall
(float float0) static boolean
isLethalFall
(float float0) static boolean
isLightFall
(float float0) static boolean
isMoreThanHardFall
(float float0) static boolean
isMoreThanLightFall
(float float0) static boolean
isSevereFall
(float float0)
-
Field Details
-
IsoWorldToPhysicsZScale
public static final float IsoWorldToPhysicsZScale- See Also:
-
PhysicsToIsoWorldZScale
public static final float PhysicsToIsoWorldZScale- See Also:
-
FallAcceleration
public static final float FallAcceleration- See Also:
-
IsoFallAcceleration
public static final float IsoFallAcceleration- See Also:
-
isFallingThreshold
public static final float isFallingThreshold -
noDamageThreshold
public static final float noDamageThreshold -
hardFallThreshold
public static final float hardFallThreshold -
severeFallThreshold
public static final float severeFallThreshold -
lethalFallThreshold
public static final float lethalFallThreshold -
zombieLethalFallThreshold
public static final float zombieLethalFallThreshold -
fallDamageMultiplier
public static final float fallDamageMultiplier- See Also:
-
fallDamageInjuryMultiplier
public static final float fallDamageInjuryMultiplier- See Also:
-
-
Constructor Details
-
FallingConstants
public FallingConstants()
-
-
Method Details
-
getIsoImpactSpeedFromHeight
public static float getIsoImpactSpeedFromHeight(float float1) -
isLethalFall
public static boolean isLethalFall(float float0) -
isSevereFall
public static boolean isSevereFall(float float0) -
isHardFall
public static boolean isHardFall(float float0) -
isMoreThanHardFall
public static boolean isMoreThanHardFall(float float0) -
isLightFall
public static boolean isLightFall(float float0) -
isMoreThanLightFall
public static boolean isMoreThanLightFall(float float0) -
isFall
public static boolean isFall(float float0) -
isDamagingFall
public static boolean isDamagingFall(float float0) -
getFallSeverity
-