Package zombie.characters.BodyDamage
Class BodyPart
java.lang.Object
zombie.characters.BodyDamage.BodyPart
public class BodyPart
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description BodyPart(BodyPartType bodyPartType, IsoGameCharacter gameCharacter)
-
Method Summary
Modifier and Type Method Description void
AddDamage(float float1)
void
AddHealth(float float1)
boolean
bandaged()
boolean
bitten()
boolean
bleeding()
void
damageFromFirearm(float float1)
void
DamageUpdate()
boolean
deepWounded()
void
DisableFakeInfection()
void
generateDeepShardWound()
void
generateDeepWound()
float
getAdditionalPain()
float
getAlcoholLevel()
float
getBandageLife()
java.lang.String
getBandageType()
float
getBiteTime()
float
getBleedingTime()
float
getBurnTime()
float
getComfreyFactor()
float
getDeepWoundTime()
float
getFractureTime()
float
getGarlicFactor()
float
getHealth()
int
getIndex()
float
getLastTimeBurnWash()
float
getPain()
float
getPlantainFactor()
float
getScratchTime()
float
getSplintFactor()
java.lang.String
getSplintItem()
float
getStitchTime()
BodyPartType
getType()
float
getWoundInfectionLevel()
boolean
HasInjury()
boolean
haveBullet()
boolean
haveGlass()
boolean
IsBleedingStemmed()
boolean
IsCortorised()
boolean
isDeepWounded()
boolean
IsFakeInfected()
boolean
isGetBandageXp()
boolean
isGetSplintXp()
boolean
isGetStitchXp()
boolean
IsInfected()
boolean
isInfectedWound()
boolean
isNeedBurnWash()
boolean
isSplint()
void
ReduceHealth(float float1)
void
RestoreToFullHealth()
boolean
scratched()
void
setAdditionalPain(float float1)
void
setAlcoholLevel(float float1)
void
setBandaged(boolean boolean1, float float1)
void
setBandaged(boolean boolean1, float float1, boolean boolean2, java.lang.String string)
void
setBandageLife(float float1)
void
setBandageType(java.lang.String string)
void
setBiteTime(float float1)
void
SetBitten(boolean boolean1)
void
SetBitten(boolean boolean1, boolean boolean2)
void
setBleeding(boolean boolean1)
void
SetBleedingStemmed(boolean boolean1)
void
setBleedingTime(float float1)
void
setBurned()
void
setBurnTime(float float1)
void
setComfreyFactor(float float1)
void
SetCortorised(boolean boolean1)
void
setDeepWounded(boolean boolean1)
void
setDeepWoundTime(float float1)
void
SetFakeInfected(boolean boolean1)
void
setFractureTime(float float1)
void
setGarlicFactor(float float1)
void
setGetBandageXp(boolean boolean1)
void
setGetSplintXp(boolean boolean1)
void
setGetStitchXp(boolean boolean1)
void
setHaveBullet(boolean boolean1, int int1)
void
setHaveGlass(boolean boolean1)
void
SetHealth(float float1)
void
SetInfected(boolean boolean1)
void
setInfectedWound(boolean boolean1)
void
setLastTimeBurnWash(float float1)
void
setNeedBurnWash(boolean boolean1)
void
setPlantainFactor(float float1)
void
setScratched(boolean boolean1)
void
SetScratchedWeapon(boolean boolean1)
void
SetScratchedWindow(boolean boolean1)
void
setScratchTime(float float1)
void
setSplint(boolean boolean1, float float1)
void
setSplintFactor(float float1)
void
setSplintItem(java.lang.String string)
void
setStitched(boolean boolean1)
void
setStitchTime(float float1)
void
setWoundInfectionLevel(float float1)
boolean
stitched()
void
sync(java.nio.ByteBuffer byteBuffer, byte byte1)
void
sync(BodyPart bodyPart, BodyDamageSync.Updater updater)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BodyPart
-
-
Method Details
-
AddDamage
public void AddDamage(float float1) -
DamageUpdate
public void DamageUpdate() -
getHealth
public float getHealth() -
SetHealth
public void SetHealth(float float1) -
AddHealth
public void AddHealth(float float1) -
ReduceHealth
public void ReduceHealth(float float1) -
HasInjury
public boolean HasInjury() -
bandaged
public boolean bandaged() -
bitten
public boolean bitten() -
bleeding
public boolean bleeding() -
IsBleedingStemmed
public boolean IsBleedingStemmed() -
IsCortorised
public boolean IsCortorised() -
IsInfected
public boolean IsInfected() -
SetInfected
public void SetInfected(boolean boolean1) -
SetFakeInfected
public void SetFakeInfected(boolean boolean1) -
IsFakeInfected
public boolean IsFakeInfected() -
DisableFakeInfection
public void DisableFakeInfection() -
scratched
public boolean scratched() -
stitched
public boolean stitched() -
deepWounded
public boolean deepWounded() -
RestoreToFullHealth
public void RestoreToFullHealth() -
setBandaged
public void setBandaged(boolean boolean1, float float1) -
setBandaged
public void setBandaged(boolean boolean1, float float1, boolean boolean2, java.lang.String string) -
SetBitten
public void SetBitten(boolean boolean1) -
SetBitten
public void SetBitten(boolean boolean1, boolean boolean2) -
setBleeding
public void setBleeding(boolean boolean1) -
SetBleedingStemmed
public void SetBleedingStemmed(boolean boolean1) -
SetCortorised
public void SetCortorised(boolean boolean1) -
setScratched
public void setScratched(boolean boolean1) -
SetScratchedWeapon
public void SetScratchedWeapon(boolean boolean1) -
generateDeepWound
public void generateDeepWound() -
generateDeepShardWound
public void generateDeepShardWound() -
SetScratchedWindow
public void SetScratchedWindow(boolean boolean1) -
setStitched
public void setStitched(boolean boolean1) -
setDeepWounded
public void setDeepWounded(boolean boolean1) -
setWoundInfectionLevel
public void setWoundInfectionLevel(float float1) -
damageFromFirearm
public void damageFromFirearm(float float1) -
getPain
public float getPain() -
getBiteTime
public float getBiteTime() -
setBiteTime
public void setBiteTime(float float1) -
getDeepWoundTime
public float getDeepWoundTime() -
setDeepWoundTime
public void setDeepWoundTime(float float1) -
haveGlass
public boolean haveGlass() -
setHaveGlass
public void setHaveGlass(boolean boolean1) -
getStitchTime
public float getStitchTime() -
setStitchTime
public void setStitchTime(float float1) -
getIndex
public int getIndex() -
getAlcoholLevel
public float getAlcoholLevel() -
setAlcoholLevel
public void setAlcoholLevel(float float1) -
getAdditionalPain
public float getAdditionalPain() -
setAdditionalPain
public void setAdditionalPain(float float1) -
getBandageType
public java.lang.String getBandageType() -
setBandageType
public void setBandageType(java.lang.String string) -
isGetBandageXp
public boolean isGetBandageXp() -
setGetBandageXp
public void setGetBandageXp(boolean boolean1) -
isGetStitchXp
public boolean isGetStitchXp() -
setGetStitchXp
public void setGetStitchXp(boolean boolean1) -
getSplintFactor
public float getSplintFactor() -
setSplintFactor
public void setSplintFactor(float float1) -
getFractureTime
public float getFractureTime() -
setFractureTime
public void setFractureTime(float float1) -
isGetSplintXp
public boolean isGetSplintXp() -
setGetSplintXp
public void setGetSplintXp(boolean boolean1) -
isSplint
public boolean isSplint() -
setSplint
public void setSplint(boolean boolean1, float float1) -
haveBullet
public boolean haveBullet() -
setHaveBullet
public void setHaveBullet(boolean boolean1, int int1) -
getBurnTime
public float getBurnTime() -
setBurnTime
public void setBurnTime(float float1) -
isNeedBurnWash
public boolean isNeedBurnWash() -
setNeedBurnWash
public void setNeedBurnWash(boolean boolean1) -
getLastTimeBurnWash
public float getLastTimeBurnWash() -
setLastTimeBurnWash
public void setLastTimeBurnWash(float float1) -
isInfectedWound
public boolean isInfectedWound() -
setInfectedWound
public void setInfectedWound(boolean boolean1) -
getType
-
getBleedingTime
public float getBleedingTime() -
setBleedingTime
public void setBleedingTime(float float1) -
isDeepWounded
public boolean isDeepWounded() -
getBandageLife
public float getBandageLife() -
setBandageLife
public void setBandageLife(float float1) -
getScratchTime
public float getScratchTime() -
setScratchTime
public void setScratchTime(float float1) -
getWoundInfectionLevel
public float getWoundInfectionLevel() -
setBurned
public void setBurned() -
getSplintItem
public java.lang.String getSplintItem() -
setSplintItem
public void setSplintItem(java.lang.String string) -
getPlantainFactor
public float getPlantainFactor() -
setPlantainFactor
public void setPlantainFactor(float float1) -
getGarlicFactor
public float getGarlicFactor() -
setGarlicFactor
public void setGarlicFactor(float float1) -
getComfreyFactor
public float getComfreyFactor() -
setComfreyFactor
public void setComfreyFactor(float float1) -
sync
-
sync
public void sync(java.nio.ByteBuffer byteBuffer, byte byte1)
-