Package zombie.characters.BodyDamage
Class Nutrition
java.lang.Object
zombie.characters.BodyDamage.Nutrition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanbooleanfloatfloatfloatfloatdoublebooleanbooleanbooleanvoidload(ByteBuffer byteBuffer) voidsave(ByteBuffer byteBuffer) voidsetCalories(float float1) voidsetCarbohydrates(float float1) voidsetDecWeight(boolean boolean1) voidsetIncWeight(boolean boolean1) voidsetIncWeightLot(boolean boolean1) voidsetLipids(float float1) voidsetProteins(float float1) voidsetWeight(double double1) voidvoidupdate()
-
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)
-