Class BodyDamage

java.lang.Object
zombie.characters.BodyDamage.BodyDamage

public class BodyDamage
extends java.lang.Object
  • Field Details

    • BodyParts

      public java.util.ArrayList BodyParts
    • DamageModCount

      public int DamageModCount
    • InfectionGrowthRate

      public float InfectionGrowthRate
    • InfectionLevel

      public float InfectionLevel
    • IsInfected

      public boolean IsInfected
    • InfectionTime

      public float InfectionTime
    • InfectionMortalityDuration

      public float InfectionMortalityDuration
    • FakeInfectionLevel

      public float FakeInfectionLevel
    • IsFakeInfected

      public boolean IsFakeInfected
    • OverallBodyHealth

      public float OverallBodyHealth
    • StandardHealthAddition

      public float StandardHealthAddition
    • ReducedHealthAddition

      public float ReducedHealthAddition
    • SeverlyReducedHealthAddition

      public float SeverlyReducedHealthAddition
    • SleepingHealthAddition

      public float SleepingHealthAddition
    • HealthFromFood

      public float HealthFromFood
    • HealthReductionFromSevereBadMoodles

      public float HealthReductionFromSevereBadMoodles
    • StandardHealthFromFoodTime

      public int StandardHealthFromFoodTime
    • HealthFromFoodTimer

      public float HealthFromFoodTimer
    • BoredomLevel

      public float BoredomLevel
    • BoredomDecreaseFromReading

      public float BoredomDecreaseFromReading
    • InitialThumpPain

      public float InitialThumpPain
    • InitialScratchPain

      public float InitialScratchPain
    • InitialBitePain

      public float InitialBitePain
    • InitialWoundPain

      public float InitialWoundPain
    • ContinualPainIncrease

      public float ContinualPainIncrease
    • PainReductionFromMeds

      public float PainReductionFromMeds
    • StandardPainReductionWhenWell

      public float StandardPainReductionWhenWell
    • OldNumZombiesVisible

      public int OldNumZombiesVisible
    • CurrentNumZombiesVisible

      public int CurrentNumZombiesVisible
    • PanicIncreaseValue

      public float PanicIncreaseValue
    • PanicReductionValue

      public float PanicReductionValue
    • DrunkIncreaseValue

      public float DrunkIncreaseValue
    • DrunkReductionValue

      public float DrunkReductionValue
    • IsOnFire

      public boolean IsOnFire
    • BurntToDeath

      public boolean BurntToDeath
    • Wetness

      public float Wetness
    • CatchACold

      public float CatchACold
    • HasACold

      public boolean HasACold
    • ColdStrength

      public float ColdStrength
    • ColdProgressionRate

      public float ColdProgressionRate
    • TimeToSneezeOrCough

      public int TimeToSneezeOrCough
    • MildColdSneezeTimerMin

      public int MildColdSneezeTimerMin
    • MildColdSneezeTimerMax

      public int MildColdSneezeTimerMax
    • ColdSneezeTimerMin

      public int ColdSneezeTimerMin
    • ColdSneezeTimerMax

      public int ColdSneezeTimerMax
    • NastyColdSneezeTimerMin

      public int NastyColdSneezeTimerMin
    • NastyColdSneezeTimerMax

      public int NastyColdSneezeTimerMax
    • SneezeCoughActive

      public int SneezeCoughActive
    • SneezeCoughTime

      public int SneezeCoughTime
    • SneezeCoughDelay

      public int SneezeCoughDelay
    • UnhappynessLevel

      public float UnhappynessLevel
    • ColdDamageStage

      public float ColdDamageStage
    • ParentChar

      public IsoGameCharacter ParentChar
    • InfectionLevelToZombify

      public static final float InfectionLevelToZombify
      See Also:
      Constant Field Values
  • Constructor Details

  • Method Details

    • getBodyPart

      public BodyPart getBodyPart​(BodyPartType bodyPartType)
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException
      Throws:
      java.io.IOException
    • save

      public void save​(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
      Throws:
      java.io.IOException
    • IsFakeInfected

      public boolean IsFakeInfected()
    • OnFire

      public void OnFire​(boolean boolean1)
    • IsOnFire

      public boolean IsOnFire()
    • WasBurntToDeath

      public boolean WasBurntToDeath()
    • IncreasePanic

      public void IncreasePanic​(int int1)
    • ReducePanic

      public void ReducePanic()
    • UpdatePanicState

      public void UpdatePanicState()
    • JustDrankBooze

      @Deprecated public void JustDrankBooze()
      Deprecated.
    • JustDrankBooze

      public void JustDrankBooze​(Food food, float float1)
    • JustTookPill

      public void JustTookPill​(InventoryItem inventoryItem)
    • JustAteFood

      public void JustAteFood​(Food food, float float1)
    • JustAteFood

      public void JustAteFood​(Food food)
    • JustReadSomething

      public void JustReadSomething​(Literature literature)
    • JustTookPainMeds

      public void JustTookPainMeds()
    • UpdateWetness

      public void UpdateWetness()
    • TriggerSneezeCough

      public void TriggerSneezeCough()
    • IsSneezingCoughing

      public int IsSneezingCoughing()
    • UpdateCold

      public void UpdateCold()
    • getColdStrength

      public float getColdStrength()
    • getWetness

      public float getWetness()
    • AddDamage

      public void AddDamage​(BodyPartType bodyPartType, float float1)
    • AddGeneralHealth

      public void AddGeneralHealth​(float float1)
    • ReduceGeneralHealth

      public void ReduceGeneralHealth​(float float1)
    • AddDamage

      public void AddDamage​(int int1, float float1)
    • DamageFromWeapon

      public void DamageFromWeapon​(HandWeapon handWeapon)
    • AddRandomDamageFromZombie

      public void AddRandomDamageFromZombie​(IsoZombie zombie)
    • DoesBodyPartHaveInjury

      public boolean DoesBodyPartHaveInjury​(BodyPartType bodyPartType)
    • DrawUntexturedQuad

      public void DrawUntexturedQuad​(int int1, int int2, int int3, int int4, float float1, float float2, float float3, float float4)
    • getBodyPartHealth

      public float getBodyPartHealth​(BodyPartType bodyPartType)
    • getBodyPartHealth

      public float getBodyPartHealth​(int int1)
    • getBodyPartName

      public java.lang.String getBodyPartName​(BodyPartType bodyPartType)
    • getBodyPartName

      public java.lang.String getBodyPartName​(int int1)
    • getHealth

      public float getHealth()
    • getInfectionLevel

      public float getInfectionLevel()
    • getApparentInfectionLevel

      public float getApparentInfectionLevel()
    • getNumPartsBleeding

      public int getNumPartsBleeding()
    • getNumPartsScratched

      public int getNumPartsScratched()
    • getNumPartsBitten

      public int getNumPartsBitten()
    • HasInjury

      public boolean HasInjury()
    • IsBandaged

      public boolean IsBandaged​(BodyPartType bodyPartType)
    • IsDeepWounded

      public boolean IsDeepWounded​(BodyPartType bodyPartType)
    • IsBandaged

      public boolean IsBandaged​(int int1)
    • IsBitten

      public boolean IsBitten​(BodyPartType bodyPartType)
    • IsBitten

      public boolean IsBitten​(int int1)
    • IsBleeding

      public boolean IsBleeding​(BodyPartType bodyPartType)
    • IsBleeding

      public boolean IsBleeding​(int int1)
    • IsBleedingStemmed

      public boolean IsBleedingStemmed​(BodyPartType bodyPartType)
    • IsBleedingStemmed

      public boolean IsBleedingStemmed​(int int1)
    • IsCortorised

      public boolean IsCortorised​(BodyPartType bodyPartType)
    • IsCortorised

      public boolean IsCortorised​(int int1)
    • IsInfected

      public boolean IsInfected()
    • IsInfected

      public boolean IsInfected​(BodyPartType bodyPartType)
    • IsInfected

      public boolean IsInfected​(int int1)
    • IsFakeInfected

      public boolean IsFakeInfected​(int int1)
    • DisableFakeInfection

      public void DisableFakeInfection​(int int1)
    • IsScratched

      public boolean IsScratched​(BodyPartType bodyPartType)
    • IsScratched

      public boolean IsScratched​(int int1)
    • IsStitched

      public boolean IsStitched​(BodyPartType bodyPartType)
    • IsStitched

      public boolean IsStitched​(int int1)
    • IsWounded

      public boolean IsWounded​(BodyPartType bodyPartType)
    • IsWounded

      public boolean IsWounded​(int int1)
    • RestoreToFullHealth

      public void RestoreToFullHealth()
    • SetBandaged

      public void SetBandaged​(int int1, boolean boolean1, float float1, boolean boolean2, java.lang.String string)
    • SetBitten

      public void SetBitten​(BodyPartType bodyPartType, boolean boolean1)
    • SetBitten

      public void SetBitten​(int int1, boolean boolean1)
    • SetBitten

      public void SetBitten​(int int1, boolean boolean1, boolean boolean2)
    • SetBleeding

      public void SetBleeding​(BodyPartType bodyPartType, boolean boolean1)
    • SetBleeding

      public void SetBleeding​(int int1, boolean boolean1)
    • SetBleedingStemmed

      public void SetBleedingStemmed​(BodyPartType bodyPartType, boolean boolean1)
    • SetBleedingStemmed

      public void SetBleedingStemmed​(int int1, boolean boolean1)
    • SetCortorised

      public void SetCortorised​(BodyPartType bodyPartType, boolean boolean1)
    • SetCortorised

      public void SetCortorised​(int int1, boolean boolean1)
    • setScratchedWindow

      public BodyPart setScratchedWindow()
    • SetScratched

      public void SetScratched​(BodyPartType bodyPartType, boolean boolean1)
    • SetScratched

      public void SetScratched​(int int1, boolean boolean1)
    • SetScratchedFromWeapon

      public void SetScratchedFromWeapon​(int int1, boolean boolean1)
    • SetWounded

      public void SetWounded​(BodyPartType bodyPartType, boolean boolean1)
    • SetWounded

      public void SetWounded​(int int1, boolean boolean1)
    • ShowDebugInfo

      public void ShowDebugInfo()
    • UpdateBoredom

      public void UpdateBoredom()
    • getUnhappynessLevel

      public float getUnhappynessLevel()
    • getBoredomLevel

      public float getBoredomLevel()
    • UpdateStrength

      public void UpdateStrength()
    • pickMortalityDuration

      public float pickMortalityDuration()
    • Update

      public void Update()
    • getSicknessFromCorpsesRate

      public static float getSicknessFromCorpsesRate​(int int1)
    • UseBandageOnMostNeededPart

      public boolean UseBandageOnMostNeededPart()
    • ReduceFactor

      public void ReduceFactor()
    • getBodyParts

      public java.util.ArrayList getBodyParts()
    • setBodyParts

      public void setBodyParts​(java.util.ArrayList arrayList)
    • getDamageModCount

      public int getDamageModCount()
    • setDamageModCount

      public void setDamageModCount​(int int1)
    • getInfectionGrowthRate

      public float getInfectionGrowthRate()
    • setInfectionGrowthRate

      public void setInfectionGrowthRate​(float float1)
    • setInfectionLevel

      public void setInfectionLevel​(float float1)
    • isInfected

      public boolean isInfected()
    • setInfected

      public void setInfected​(boolean boolean1)
    • getInfectionTime

      public float getInfectionTime()
    • setInfectionTime

      public void setInfectionTime​(float float1)
    • getInfectionMortalityDuration

      public float getInfectionMortalityDuration()
    • setInfectionMortalityDuration

      public void setInfectionMortalityDuration​(float float1)
    • isInf

      @Deprecated public boolean isInf()
      Deprecated.
    • setInf

      @Deprecated public void setInf​(boolean boolean1)
      Deprecated.
    • getFakeInfectionLevel

      public float getFakeInfectionLevel()
    • setFakeInfectionLevel

      public void setFakeInfectionLevel​(float float1)
    • isIsFakeInfected

      public boolean isIsFakeInfected()
    • setIsFakeInfected

      public void setIsFakeInfected​(boolean boolean1)
    • getOverallBodyHealth

      public float getOverallBodyHealth()
    • setOverallBodyHealth

      public void setOverallBodyHealth​(float float1)
    • getStandardHealthAddition

      public float getStandardHealthAddition()
    • setStandardHealthAddition

      public void setStandardHealthAddition​(float float1)
    • getReducedHealthAddition

      public float getReducedHealthAddition()
    • setReducedHealthAddition

      public void setReducedHealthAddition​(float float1)
    • getSeverlyReducedHealthAddition

      public float getSeverlyReducedHealthAddition()
    • setSeverlyReducedHealthAddition

      public void setSeverlyReducedHealthAddition​(float float1)
    • getSleepingHealthAddition

      public float getSleepingHealthAddition()
    • setSleepingHealthAddition

      public void setSleepingHealthAddition​(float float1)
    • getHealthFromFood

      public float getHealthFromFood()
    • setHealthFromFood

      public void setHealthFromFood​(float float1)
    • getHealthReductionFromSevereBadMoodles

      public float getHealthReductionFromSevereBadMoodles()
    • setHealthReductionFromSevereBadMoodles

      public void setHealthReductionFromSevereBadMoodles​(float float1)
    • getStandardHealthFromFoodTime

      public int getStandardHealthFromFoodTime()
    • setStandardHealthFromFoodTime

      public void setStandardHealthFromFoodTime​(int int1)
    • getHealthFromFoodTimer

      public float getHealthFromFoodTimer()
    • setHealthFromFoodTimer

      public void setHealthFromFoodTimer​(float float1)
    • setBoredomLevel

      public void setBoredomLevel​(float float1)
    • getBoredomDecreaseFromReading

      public float getBoredomDecreaseFromReading()
    • setBoredomDecreaseFromReading

      public void setBoredomDecreaseFromReading​(float float1)
    • getInitialThumpPain

      public float getInitialThumpPain()
    • setInitialThumpPain

      public void setInitialThumpPain​(float float1)
    • getInitialScratchPain

      public float getInitialScratchPain()
    • setInitialScratchPain

      public void setInitialScratchPain​(float float1)
    • getInitialBitePain

      public float getInitialBitePain()
    • setInitialBitePain

      public void setInitialBitePain​(float float1)
    • getInitialWoundPain

      public float getInitialWoundPain()
    • setInitialWoundPain

      public void setInitialWoundPain​(float float1)
    • getContinualPainIncrease

      public float getContinualPainIncrease()
    • setContinualPainIncrease

      public void setContinualPainIncrease​(float float1)
    • getPainReductionFromMeds

      public float getPainReductionFromMeds()
    • setPainReductionFromMeds

      public void setPainReductionFromMeds​(float float1)
    • getStandardPainReductionWhenWell

      public float getStandardPainReductionWhenWell()
    • setStandardPainReductionWhenWell

      public void setStandardPainReductionWhenWell​(float float1)
    • getOldNumZombiesVisible

      public int getOldNumZombiesVisible()
    • setOldNumZombiesVisible

      public void setOldNumZombiesVisible​(int int1)
    • getCurrentNumZombiesVisible

      public int getCurrentNumZombiesVisible()
    • setCurrentNumZombiesVisible

      public void setCurrentNumZombiesVisible​(int int1)
    • getPanicIncreaseValue

      public float getPanicIncreaseValue()
    • setPanicIncreaseValue

      public void setPanicIncreaseValue​(float float1)
    • getPanicReductionValue

      public float getPanicReductionValue()
    • setPanicReductionValue

      public void setPanicReductionValue​(float float1)
    • getDrunkIncreaseValue

      public float getDrunkIncreaseValue()
    • setDrunkIncreaseValue

      public void setDrunkIncreaseValue​(float float1)
    • getDrunkReductionValue

      public float getDrunkReductionValue()
    • setDrunkReductionValue

      public void setDrunkReductionValue​(float float1)
    • isIsOnFire

      public boolean isIsOnFire()
    • setIsOnFire

      public void setIsOnFire​(boolean boolean1)
    • isBurntToDeath

      public boolean isBurntToDeath()
    • setBurntToDeath

      public void setBurntToDeath​(boolean boolean1)
    • setWetness

      public void setWetness​(float float1)
    • getCatchACold

      public float getCatchACold()
    • setCatchACold

      public void setCatchACold​(float float1)
    • isHasACold

      public boolean isHasACold()
    • setHasACold

      public void setHasACold​(boolean boolean1)
    • setColdStrength

      public void setColdStrength​(float float1)
    • getColdProgressionRate

      public float getColdProgressionRate()
    • setColdProgressionRate

      public void setColdProgressionRate​(float float1)
    • getTimeToSneezeOrCough

      public int getTimeToSneezeOrCough()
    • setTimeToSneezeOrCough

      public void setTimeToSneezeOrCough​(int int1)
    • getMildColdSneezeTimerMin

      public int getMildColdSneezeTimerMin()
    • setMildColdSneezeTimerMin

      public void setMildColdSneezeTimerMin​(int int1)
    • getMildColdSneezeTimerMax

      public int getMildColdSneezeTimerMax()
    • setMildColdSneezeTimerMax

      public void setMildColdSneezeTimerMax​(int int1)
    • getColdSneezeTimerMin

      public int getColdSneezeTimerMin()
    • setColdSneezeTimerMin

      public void setColdSneezeTimerMin​(int int1)
    • getColdSneezeTimerMax

      public int getColdSneezeTimerMax()
    • setColdSneezeTimerMax

      public void setColdSneezeTimerMax​(int int1)
    • getNastyColdSneezeTimerMin

      public int getNastyColdSneezeTimerMin()
    • setNastyColdSneezeTimerMin

      public void setNastyColdSneezeTimerMin​(int int1)
    • getNastyColdSneezeTimerMax

      public int getNastyColdSneezeTimerMax()
    • setNastyColdSneezeTimerMax

      public void setNastyColdSneezeTimerMax​(int int1)
    • getSneezeCoughActive

      public int getSneezeCoughActive()
    • setSneezeCoughActive

      public void setSneezeCoughActive​(int int1)
    • getSneezeCoughTime

      public int getSneezeCoughTime()
    • setSneezeCoughTime

      public void setSneezeCoughTime​(int int1)
    • getSneezeCoughDelay

      public int getSneezeCoughDelay()
    • setSneezeCoughDelay

      public void setSneezeCoughDelay​(int int1)
    • setUnhappynessLevel

      public void setUnhappynessLevel​(float float1)
    • getParentChar

      public IsoGameCharacter getParentChar()
    • setParentChar

      public void setParentChar​(IsoGameCharacter gameCharacter)
    • getTemperature

      public float getTemperature()
    • setTemperature

      public void setTemperature​(float float1)
    • getTemperatureChangeTick

      public float getTemperatureChangeTick()
    • setPoisonLevel

      public void setPoisonLevel​(float float1)
    • getPoisonLevel

      public float getPoisonLevel()
    • getFoodSicknessLevel

      public float getFoodSicknessLevel()
    • setFoodSicknessLevel

      public void setFoodSicknessLevel​(float float1)
    • isReduceFakeInfection

      public boolean isReduceFakeInfection()
    • setReduceFakeInfection

      public void setReduceFakeInfection​(boolean boolean1)
    • AddRandomDamage

      public void AddRandomDamage()
    • getPainReduction

      public float getPainReduction()
    • setPainReduction

      public void setPainReduction​(float float1)
    • getColdReduction

      public float getColdReduction()
    • setColdReduction

      public void setColdReduction​(float float1)
    • getRemotePainLevel

      public int getRemotePainLevel()
    • setRemotePainLevel

      public void setRemotePainLevel​(int int1)
    • getColdDamageStage

      public float getColdDamageStage()
    • setColdDamageStage

      public void setColdDamageStage​(float float1)