Package zombie.characters
Interface ILuaGameCharacterHealth
- All Known Subinterfaces:
ILuaGameCharacter
- All Known Implementing Classes:
IsoDummyCameraCharacter
,IsoGameCharacter
,IsoLivingCharacter
,IsoLuaCharacter
,IsoLuaMover
,IsoPlayer
,IsoSurvivor
,IsoZombie
,RandomizedBuildingBase.HumanCorpse
public interface ILuaGameCharacterHealth
ILuaGameCharacterHealth
Provides the functions expected by LUA when dealing with objects of this type.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Eat
(InventoryItem info) boolean
Eat
(InventoryItem info, float percentage) float
int
float
float
float
void
setLastHourSleeped
(int lastHourSleeped) void
setReduceInfectionPower
(float reduceInfectionPower) void
setSleepingTabletEffect
(float SleepingTabletEffect) void
setTemperature
(float t) void
setTimeOfSleep
(float timeOfSleep)
-
Method Details
-
setSleepingTabletEffect
void setSleepingTabletEffect(float SleepingTabletEffect) -
getSleepingTabletEffect
float getSleepingTabletEffect() -
getFatigueMod
float getFatigueMod() -
Eat
-
Eat
-
getTemperature
float getTemperature() -
setTemperature
void setTemperature(float t) -
getReduceInfectionPower
float getReduceInfectionPower() -
setReduceInfectionPower
void setReduceInfectionPower(float reduceInfectionPower) -
getLastHourSleeped
int getLastHourSleeped() -
setLastHourSleeped
void setLastHourSleeped(int lastHourSleeped) -
setTimeOfSleep
void setTimeOfSleep(float timeOfSleep)
-