Class Nutrition

java.lang.Object
zombie.characters.BodyDamage.Nutrition

public class Nutrition
extends java.lang.Object
  • Constructor Details

    • Nutrition

      public Nutrition​(IsoPlayer player)
  • Method Details

    • update

      public void update()
    • save

      public void save​(java.nio.ByteBuffer byteBuffer)
    • load

      public void load​(java.nio.ByteBuffer byteBuffer)
    • 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 float getWeight()
    • setWeight

      public void setWeight​(float float1)
    • 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)