Class Stats

java.lang.Object
zombie.characters.Stats

public final class Stats extends Object
  • Field Details

    • Anger

      public float Anger
    • boredom

      public float boredom
    • endurance

      public float endurance
    • enduranceRecharging

      public boolean enduranceRecharging
    • endurancelast

      public float endurancelast
    • endurancedanger

      public float endurancedanger
    • endurancewarn

      public float endurancewarn
    • fatigue

      public float fatigue
    • fitness

      public float fitness
    • hunger

      public float hunger
    • idleboredom

      public float idleboredom
    • morale

      public float morale
    • stress

      public float stress
    • Fear

      public float Fear
    • Panic

      public float Panic
    • Sanity

      public float Sanity
    • Sickness

      public float Sickness
    • Boredom

      public float Boredom
    • Pain

      public float Pain
    • Drunkenness

      public float Drunkenness
    • NumVisibleZombies

      public int NumVisibleZombies
    • LastNumVisibleZombies

      public int LastNumVisibleZombies
    • Tripping

      public boolean Tripping
    • TrippingRotAngle

      public float TrippingRotAngle
    • thirst

      public float thirst
    • NumChasingZombies

      public int NumChasingZombies
    • LastVeryCloseZombies

      public int LastVeryCloseZombies
    • NumCloseZombies

      public static int NumCloseZombies
    • LastNumChasingZombies

      public int LastNumChasingZombies
    • stressFromCigarettes

      public float stressFromCigarettes
    • ChasingZombiesDanger

      public float ChasingZombiesDanger
    • MusicZombiesVisible

      public int MusicZombiesVisible
    • MusicZombiesTargeting

      public int MusicZombiesTargeting
  • Constructor Details

    • Stats

      public Stats()
  • Method Details

    • getNumVisibleZombies

      public int getNumVisibleZombies()
    • getNumChasingZombies

      public int getNumChasingZombies()
    • getNumVeryCloseZombies

      public int getNumVeryCloseZombies()
    • load

      public void load(DataInputStream input) throws IOException
      Throws:
      IOException
    • load

      public void load(ByteBuffer input, int WorldVersion) throws IOException
      Throws:
      IOException
    • save

      public void save(DataOutputStream output) throws IOException
      Throws:
      IOException
    • save

      public void save(ByteBuffer output) throws IOException
      Throws:
      IOException
    • getAnger

      public float getAnger()
      Returns:
      the Anger
    • setAnger

      public void setAnger(float Anger)
      Parameters:
      Anger - the Anger to set
    • getBoredom

      public float getBoredom()
      Returns:
      the boredom
    • setBoredom

      public void setBoredom(float boredom)
      Parameters:
      boredom - the boredom to set
    • getEndurance

      public float getEndurance()
      Returns:
      the endurance
    • setEndurance

      public void setEndurance(float endurance)
      Parameters:
      endurance - the endurance to set
    • getEndurancelast

      public float getEndurancelast()
      Returns:
      the endurancelast
    • setEndurancelast

      public void setEndurancelast(float endurancelast)
      Parameters:
      endurancelast - the endurancelast to set
    • getEndurancedanger

      public float getEndurancedanger()
      Returns:
      the endurancedanger
    • setEndurancedanger

      public void setEndurancedanger(float endurancedanger)
      Parameters:
      endurancedanger - the endurancedanger to set
    • getEndurancewarn

      public float getEndurancewarn()
      Returns:
      the endurancewarn
    • setEndurancewarn

      public void setEndurancewarn(float endurancewarn)
      Parameters:
      endurancewarn - the endurancewarn to set
    • getEnduranceRecharging

      public boolean getEnduranceRecharging()
    • getFatigue

      public float getFatigue()
      Returns:
      the fatigue
    • setFatigue

      public void setFatigue(float fatigue)
      Parameters:
      fatigue - the fatigue to set
    • getFitness

      public float getFitness()
      Returns:
      the fitness
    • setFitness

      public void setFitness(float fitness)
      Parameters:
      fitness - the fitness to set
    • getHunger

      public float getHunger()
      Returns:
      the hunger
    • setHunger

      public void setHunger(float hunger)
      Parameters:
      hunger - the hunger to set
    • getIdleboredom

      public float getIdleboredom()
      Returns:
      the idleboredom
    • setIdleboredom

      public void setIdleboredom(float idleboredom)
      Parameters:
      idleboredom - the idleboredom to set
    • getMorale

      public float getMorale()
      Returns:
      the morale
    • setMorale

      public void setMorale(float morale)
      Parameters:
      morale - the morale to set
    • getStress

      public float getStress()
      Returns:
      the stress
    • setStress

      public void setStress(float stress)
      Parameters:
      stress - the stress to set
    • getStressFromCigarettes

      public float getStressFromCigarettes()
    • setStressFromCigarettes

      public void setStressFromCigarettes(float stressFromCigarettes)
    • getMaxStressFromCigarettes

      public float getMaxStressFromCigarettes()
    • getFear

      public float getFear()
      Returns:
      the Fear
    • setFear

      public void setFear(float Fear)
      Parameters:
      Fear - the Fear to set
    • getPanic

      public float getPanic()
      Returns:
      the Panic
    • setPanic

      public void setPanic(float Panic)
      Parameters:
      Panic - the Panic to set
    • getSanity

      public float getSanity()
      Returns:
      the Sanity
    • setSanity

      public void setSanity(float Sanity)
      Parameters:
      Sanity - the Sanity to set
    • getSickness

      public float getSickness()
      Returns:
      the Sickness
    • setSickness

      public void setSickness(float Sickness)
      Parameters:
      Sickness - the Sickness to set
    • getPain

      public float getPain()
      Returns:
      the Pain
    • setPain

      public void setPain(float Pain)
      Parameters:
      Pain - the Pain to set
    • getDrunkenness

      public float getDrunkenness()
      Returns:
      the Drunkenness
    • setDrunkenness

      public void setDrunkenness(float Drunkenness)
      Parameters:
      Drunkenness - the Drunkenness to set
    • getVisibleZombies

      public int getVisibleZombies()
      Returns:
      the NumVisibleZombies
    • setNumVisibleZombies

      public void setNumVisibleZombies(int NumVisibleZombies)
      Parameters:
      NumVisibleZombies - the NumVisibleZombies to set
    • isTripping

      public boolean isTripping()
      Returns:
      the Tripping
    • setTripping

      public void setTripping(boolean Tripping)
      Parameters:
      Tripping - the Tripping to set
    • getTrippingRotAngle

      public float getTrippingRotAngle()
      Returns:
      the TrippingRotAngle
    • setTrippingRotAngle

      public void setTrippingRotAngle(float TrippingRotAngle)
      Parameters:
      TrippingRotAngle - the TrippingRotAngle to set
    • getThirst

      public float getThirst()
      Returns:
      the thirst
    • setThirst

      public void setThirst(float thirst)
      Parameters:
      thirst - the thirst to set
    • resetStats

      public void resetStats()