Package zombie.characters.BodyDamage
Class Nutrition
java.lang.Object
zombie.characters.BodyDamage.Nutrition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
boolean
boolean
float
float
float
float
double
boolean
boolean
boolean
void
load
(ByteBuffer byteBuffer) void
save
(ByteBuffer byteBuffer) void
setCalories
(float float1) void
setCarbohydrates
(float float1) void
setDecWeight
(boolean boolean1) void
setIncWeight
(boolean boolean1) void
setIncWeightLot
(boolean boolean1) void
setLipids
(float float1) void
setProteins
(float float1) void
setWeight
(double double1) void
void
update()
-
Constructor Details
-
Nutrition
-
-
Method Details
-
update
public void update() -
syncWeight
public void syncWeight() -
save
-
load
-
applyWeightFromTraits
public void applyWeightFromTraits() -
applyTraitFromWeight
public void applyTraitFromWeight() -
characterHaveWeightTrouble
public boolean characterHaveWeightTrouble() -
canAddFitnessXp
public boolean canAddFitnessXp() -
getCarbohydrates
public float getCarbohydrates() -
setCarbohydrates
public void setCarbohydrates(float float1) -
getProteins
public float getProteins() -
setProteins
public void setProteins(float float1) -
getCalories
public float getCalories() -
setCalories
public void setCalories(float float1) -
getLipids
public float getLipids() -
setLipids
public void setLipids(float float1) -
getWeight
public double getWeight() -
setWeight
public void setWeight(double double1) -
isIncWeight
public boolean isIncWeight() -
setIncWeight
public void setIncWeight(boolean boolean1) -
isIncWeightLot
public boolean isIncWeightLot() -
setIncWeightLot
public void setIncWeightLot(boolean boolean1) -
isDecWeight
public boolean isDecWeight() -
setDecWeight
public void setDecWeight(boolean boolean1)
-