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 ChosenType, IsoGameCharacter PC)
-
Method Summary
Modifier and Type Method Description void
AddDamage(float Val)
void
AddHealth(float Val)
boolean
bandaged()
boolean
bitten()
boolean
bleeding()
void
damageFromFirearm(float damage)
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 Val)
void
RestoreToFullHealth()
boolean
scratched()
void
setAdditionalPain(float additionalPain)
void
setAlcoholLevel(float alcoholLevel)
void
setBandaged(boolean Bandaged, float bandageLife)
void
setBandaged(boolean Bandaged, float bandageLife, boolean isAlcoholic, java.lang.String bandageType)
void
setBandageLife(float bandageLife)
void
setBandageType(java.lang.String bandageType)
void
setBiteTime(float biteTime)
void
SetBitten(boolean Bitten)
void
SetBitten(boolean Bitten, boolean Infected)
void
setBleeding(boolean Bleeding)
void
SetBleedingStemmed(boolean BleedingStemmed)
void
setBleedingTime(float bleedingTime)
void
setBurned()
void
setBurnTime(float burnTime)
void
setComfreyFactor(float comfreyFactor)
void
SetCortorised(boolean Cortorised)
void
setDeepWounded(boolean Wounded)
void
setDeepWoundTime(float deepWoundTime)
void
SetFakeInfected(boolean inf)
void
setFractureTime(float fractureTime)
void
setGarlicFactor(float garlicFactor)
void
setGetBandageXp(boolean getBandageXp)
void
setGetSplintXp(boolean getSplintXp)
void
setGetStitchXp(boolean getStitchXp)
void
setHaveBullet(boolean haveBullet, int doctorLevel)
void
setHaveGlass(boolean haveGlass)
void
SetHealth(float NewHealth)
void
SetInfected(boolean inf)
void
setInfectedWound(boolean infectedWound)
void
setLastTimeBurnWash(float lastTimeBurnWash)
void
setNeedBurnWash(boolean needBurnWash)
void
setPlantainFactor(float plantainFactor)
void
setScratched(boolean Scratched)
void
SetScratchedWeapon(boolean Scratched)
void
SetScratchedWindow(boolean Scratched)
void
setScratchTime(float scratchTime)
void
setSplint(boolean splint, float splintFactor)
void
setSplintFactor(float splintFactor)
void
setSplintItem(java.lang.String splintItem)
void
setStitched(boolean Stitched)
void
setStitchTime(float stitchTime)
void
setWoundInfectionLevel(float infectedWound)
boolean
stitched()
void
sync(java.nio.ByteBuffer bb, byte id)
void
sync(BodyPart other, 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 Val) -
DamageUpdate
public void DamageUpdate() -
getHealth
public float getHealth() -
SetHealth
public void SetHealth(float NewHealth) -
AddHealth
public void AddHealth(float Val) -
ReduceHealth
public void ReduceHealth(float Val) -
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 inf) -
SetFakeInfected
public void SetFakeInfected(boolean inf) -
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 Bandaged, float bandageLife) -
setBandaged
public void setBandaged(boolean Bandaged, float bandageLife, boolean isAlcoholic, java.lang.String bandageType) -
SetBitten
public void SetBitten(boolean Bitten) -
SetBitten
public void SetBitten(boolean Bitten, boolean Infected) -
setBleeding
public void setBleeding(boolean Bleeding) -
SetBleedingStemmed
public void SetBleedingStemmed(boolean BleedingStemmed) -
SetCortorised
public void SetCortorised(boolean Cortorised) -
setScratched
public void setScratched(boolean Scratched) -
SetScratchedWeapon
public void SetScratchedWeapon(boolean Scratched) -
generateDeepWound
public void generateDeepWound() -
generateDeepShardWound
public void generateDeepShardWound() -
SetScratchedWindow
public void SetScratchedWindow(boolean Scratched) -
setStitched
public void setStitched(boolean Stitched) -
setDeepWounded
public void setDeepWounded(boolean Wounded) -
setWoundInfectionLevel
public void setWoundInfectionLevel(float infectedWound) -
damageFromFirearm
public void damageFromFirearm(float damage) -
getPain
public float getPain() -
getBiteTime
public float getBiteTime() -
setBiteTime
public void setBiteTime(float biteTime) -
getDeepWoundTime
public float getDeepWoundTime() -
setDeepWoundTime
public void setDeepWoundTime(float deepWoundTime) -
haveGlass
public boolean haveGlass() -
setHaveGlass
public void setHaveGlass(boolean haveGlass) -
getStitchTime
public float getStitchTime() -
setStitchTime
public void setStitchTime(float stitchTime) -
getIndex
public int getIndex() -
getAlcoholLevel
public float getAlcoholLevel() -
setAlcoholLevel
public void setAlcoholLevel(float alcoholLevel) -
getAdditionalPain
public float getAdditionalPain() -
setAdditionalPain
public void setAdditionalPain(float additionalPain) -
getBandageType
public java.lang.String getBandageType() -
setBandageType
public void setBandageType(java.lang.String bandageType) -
isGetBandageXp
public boolean isGetBandageXp() -
setGetBandageXp
public void setGetBandageXp(boolean getBandageXp) -
isGetStitchXp
public boolean isGetStitchXp() -
setGetStitchXp
public void setGetStitchXp(boolean getStitchXp) -
getSplintFactor
public float getSplintFactor() -
setSplintFactor
public void setSplintFactor(float splintFactor) -
getFractureTime
public float getFractureTime() -
setFractureTime
public void setFractureTime(float fractureTime) -
isGetSplintXp
public boolean isGetSplintXp() -
setGetSplintXp
public void setGetSplintXp(boolean getSplintXp) -
isSplint
public boolean isSplint() -
setSplint
public void setSplint(boolean splint, float splintFactor) -
haveBullet
public boolean haveBullet() -
setHaveBullet
public void setHaveBullet(boolean haveBullet, int doctorLevel) -
getBurnTime
public float getBurnTime() -
setBurnTime
public void setBurnTime(float burnTime) -
isNeedBurnWash
public boolean isNeedBurnWash() -
setNeedBurnWash
public void setNeedBurnWash(boolean needBurnWash) -
getLastTimeBurnWash
public float getLastTimeBurnWash() -
setLastTimeBurnWash
public void setLastTimeBurnWash(float lastTimeBurnWash) -
isInfectedWound
public boolean isInfectedWound() -
setInfectedWound
public void setInfectedWound(boolean infectedWound) -
getType
-
getBleedingTime
public float getBleedingTime() -
setBleedingTime
public void setBleedingTime(float bleedingTime) -
isDeepWounded
public boolean isDeepWounded() -
getBandageLife
public float getBandageLife() -
setBandageLife
public void setBandageLife(float bandageLife) -
getScratchTime
public float getScratchTime() -
setScratchTime
public void setScratchTime(float scratchTime) -
getWoundInfectionLevel
public float getWoundInfectionLevel() -
setBurned
public void setBurned() -
getSplintItem
public java.lang.String getSplintItem() -
setSplintItem
public void setSplintItem(java.lang.String splintItem) -
getPlantainFactor
public float getPlantainFactor() -
setPlantainFactor
public void setPlantainFactor(float plantainFactor) -
getGarlicFactor
public float getGarlicFactor() -
setGarlicFactor
public void setGarlicFactor(float garlicFactor) -
getComfreyFactor
public float getComfreyFactor() -
setComfreyFactor
public void setComfreyFactor(float comfreyFactor) -
sync
-
sync
public void sync(java.nio.ByteBuffer bb, byte id)
-