Class CombatManager
java.lang.Object
zombie.CombatManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic float
static float
final ObjectPool
<HitInfo> static final int
static final int
static final float
static final int
static final float
static final float
static float
static float
static final float
static final int
static int
static final float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDamage
(BodyPart bodyPart, float float0) void
applyDamage
(IsoGameCharacter isoGameCharacter, float float0) void
attackCollisionCheck
(IsoGameCharacter isoGameCharacter, HandWeapon handWeapon, SwipeStatePlayer swipeStatePlayer) void
calculateAttackVars
(IsoLivingCharacter isoLivingCharacter) float
calculateDamageToVehicle
(IsoGameCharacter var1, float float0, float float1, int int0) void
calculateHitInfoList
(IsoGameCharacter isoGameCharacter) void
calcValidTargets
(IsoLivingCharacter isoLivingCharacter, HandWeapon handWeapon, ArrayList<HitInfo> arrayList0, ArrayList<HitInfo> arrayList1) static boolean
checkPVP
(IsoGameCharacter isoGameCharacter, IsoMovingObject isoMovingObject) static float
getAimDelayPenalty
(float float4, float float0, float float2, float float1) static float
getAimDelayPenaltySightless
(float float1, float float0) static Vector3
getBoneWorldPos
(IsoMovingObject isoMovingObject, String string, Vector3 vector3) static float
getDistanceModifier
(float float0, float float1, float float2, boolean var3) static float
getDistanceModifierSightless
(float float0, boolean boolean0) static CombatManager
static float
getMoodlesPenalty
(IsoGameCharacter isoGameCharacter, float float0) static float
getMovePenalty
(IsoGameCharacter isoGameCharacter, float float1) static float
getPainPenalty
(IsoGameCharacter isoGameCharacter) getWeapon
(IsoGameCharacter isoGameCharacter) static float
getWeatherPenalty
(IsoGameCharacter isoGameCharacter, HandWeapon handWeapon, IsoGridSquare isoGridSquare, float float1) void
highlightTarget
(IsoGameCharacter isoGameCharacter, Color color, float float0) boolean
hitIsoGridSquare
(IsoGridSquare isoGridSquare, org.joml.Vector3f vector3f) static boolean
isProne
(IsoMovingObject isoMovingObject) boolean
isProneTargetBetter
(IsoGameCharacter isoGameCharacter, HitInfo hitInfo0, HitInfo hitInfo1) void
postUpdate
(boolean var1) void
pressedAttack
(IsoPlayer isoPlayer) void
processHit
(HandWeapon handWeapon, IsoGameCharacter isoGameCharacter, IsoZombie isoZombie) void
processMaintanenceCheck
(IsoGameCharacter isoGameCharacter, HandWeapon handWeapon, IsoObject isoObject) void
releaseBallisticsTargets
(IsoGameCharacter isoGameCharacter) void
void
Reset()
void
splash
(IsoMovingObject isoMovingObject, HandWeapon handWeapon, IsoGameCharacter isoGameCharacter1) void
update
(boolean var1) void
updateReticle
(IsoPlayer isoPlayer)
-
Field Details
-
hitInfoPool
-
OptimalRangeToHitMaximumBonus
public static final float OptimalRangeToHitMaximumBonus- See Also:
-
LowLightThreshold
public static final float LowLightThreshold- See Also:
-
LowLightToHitMaximumPenalty
public static final int LowLightToHitMaximumPenalty- See Also:
-
PointBlankDistance
public static final float PointBlankDistance- See Also:
-
PostShotAimingDelayRecoilModifier
public static float PostShotAimingDelayRecoilModifier -
PostShotAimingDelayAimingModifier
public static float PostShotAimingDelayAimingModifier -
StrengthLevelOffset
public static final int StrengthLevelOffset- See Also:
-
FirearmRecoilMuscleStrainModifier
public static float FirearmRecoilMuscleStrainModifier -
StrengthLevelMuscleStrainModifier
public static final float StrengthLevelMuscleStrainModifier- See Also:
-
TwoHandedWeaponMuscleStrainModifier
public static final float TwoHandedWeaponMuscleStrainModifier- See Also:
-
BallisticsControllerDistanceThreshold
public static float BallisticsControllerDistanceThreshold -
ISOCURSOR
public static final int ISOCURSOR- See Also:
-
ISORETICLE
public static final int ISORETICLE- See Also:
-
targetReticleMode
public static int targetReticleMode
-
-
Constructor Details
-
CombatManager
public CombatManager()
-
-
Method Details
-
getInstance
-
calculateDamageToVehicle
-
getWeapon
-
splash
public void splash(IsoMovingObject isoMovingObject, HandWeapon handWeapon, IsoGameCharacter isoGameCharacter1) -
processMaintanenceCheck
public void processMaintanenceCheck(IsoGameCharacter isoGameCharacter, HandWeapon handWeapon, IsoObject isoObject) -
attackCollisionCheck
public void attackCollisionCheck(IsoGameCharacter isoGameCharacter, HandWeapon handWeapon, SwipeStatePlayer swipeStatePlayer) -
releaseBallisticsTargets
-
applyDamage
-
applyDamage
-
calculateAttackVars
-
calcValidTargets
public void calcValidTargets(IsoLivingCharacter isoLivingCharacter, HandWeapon handWeapon, ArrayList<HitInfo> arrayList0, ArrayList<HitInfo> arrayList1) -
isProne
-
isProneTargetBetter
public boolean isProneTargetBetter(IsoGameCharacter isoGameCharacter, HitInfo hitInfo0, HitInfo hitInfo1) -
checkPVP
-
renderlast
public void renderlast() -
calculateHitInfoList
-
getBoneWorldPos
public static Vector3 getBoneWorldPos(IsoMovingObject isoMovingObject, String string, Vector3 vector3) -
getDistanceModifierSightless
public static float getDistanceModifierSightless(float float0, boolean boolean0) -
getAimDelayPenaltySightless
public static float getAimDelayPenaltySightless(float float1, float float0) -
getDistanceModifier
public static float getDistanceModifier(float float0, float float1, float float2, boolean var3) -
getMovePenalty
-
getAimDelayPenalty
public static float getAimDelayPenalty(float float4, float float0, float float2, float float1) -
getMoodlesPenalty
-
getWeatherPenalty
public static float getWeatherPenalty(IsoGameCharacter isoGameCharacter, HandWeapon handWeapon, IsoGridSquare isoGridSquare, float float1) -
getPainPenalty
-
Reset
public void Reset() -
processHit
public void processHit(HandWeapon handWeapon, IsoGameCharacter isoGameCharacter, IsoZombie isoZombie) -
highlightTarget
-
pressedAttack
-
update
public void update(boolean var1) -
postUpdate
public void postUpdate(boolean var1) -
updateReticle
-
hitIsoGridSquare
-