Package zombie.characters
Class Stats
java.lang.Object
zombie.characters.Stats
public class Stats
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
Anger
float
boredom
float
Boredom
float
Drunkenness
float
endurance
float
endurancedanger
float
endurancelast
boolean
enduranceRecharging
float
endurancewarn
float
fatigue
float
Fear
float
fitness
float
hunger
float
idleboredom
int
LastNumChasingZombies
float
morale
int
NumChasingZombies
int
NumVisibleZombies
float
Pain
float
Panic
float
Sanity
float
Sickness
float
stress
float
stressFromCigarettes
float
thirst
boolean
Tripping
float
TrippingRotAngle
-
Constructor Summary
Constructors Constructor Description Stats()
-
Method Summary
Modifier and Type Method Description float
getAnger()
float
getBoredom()
float
getDrunkenness()
float
getEndurance()
float
getEndurancedanger()
float
getEndurancelast()
boolean
getEnduranceRecharging()
float
getEndurancewarn()
float
getFatigue()
float
getFear()
float
getFitness()
float
getHunger()
float
getIdleboredom()
float
getMorale()
int
getNumChasingZombies()
int
getNumVisibleZombies()
float
getPain()
float
getPanic()
float
getSanity()
float
getSickness()
float
getStress()
float
getStressFromCigarettes()
float
getThirst()
float
getTrippingRotAngle()
int
getVisibleZombies()
boolean
isTripping()
void
load(java.io.DataInputStream input)
void
load(java.nio.ByteBuffer input, int WorldVersion)
void
resetStats()
void
save(java.io.DataOutputStream output)
void
save(java.nio.ByteBuffer output)
void
setAnger(float Anger)
void
setBoredom(float boredom)
void
setDrunkenness(float Drunkenness)
void
setEndurance(float endurance)
void
setEndurancedanger(float endurancedanger)
void
setEndurancelast(float endurancelast)
void
setEndurancewarn(float endurancewarn)
void
setFatigue(float fatigue)
void
setFear(float Fear)
void
setFitness(float fitness)
void
setHunger(float hunger)
void
setIdleboredom(float idleboredom)
void
setMorale(float morale)
void
setNumVisibleZombies(int NumVisibleZombies)
void
setPain(float Pain)
void
setPanic(float Panic)
void
setSanity(float Sanity)
void
setSickness(float Sickness)
void
setStress(float stress)
void
setStressFromCigarettes(float stressFromCigarettes)
void
setThirst(float thirst)
void
setTripping(boolean Tripping)
void
setTrippingRotAngle(float TrippingRotAngle)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 -
Tripping
public boolean Tripping -
TrippingRotAngle
public float TrippingRotAngle -
thirst
public float thirst -
NumChasingZombies
public int NumChasingZombies -
LastNumChasingZombies
public int LastNumChasingZombies -
stressFromCigarettes
public float stressFromCigarettes
-
-
Constructor Details
-
Stats
public Stats()
-
-
Method Details
-
getNumVisibleZombies
public int getNumVisibleZombies() -
getNumChasingZombies
public int getNumChasingZombies() -
load
public void load(java.io.DataInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.io.DataOutputStream output) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException- Throws:
java.io.IOException
-
getAnger
public float getAnger() -
setAnger
public void setAnger(float Anger) -
getBoredom
public float getBoredom() -
setBoredom
public void setBoredom(float boredom) -
getEndurance
public float getEndurance() -
setEndurance
public void setEndurance(float endurance) -
getEndurancelast
public float getEndurancelast() -
setEndurancelast
public void setEndurancelast(float endurancelast) -
getEndurancedanger
public float getEndurancedanger() -
setEndurancedanger
public void setEndurancedanger(float endurancedanger) -
getEndurancewarn
public float getEndurancewarn() -
setEndurancewarn
public void setEndurancewarn(float endurancewarn) -
getEnduranceRecharging
public boolean getEnduranceRecharging() -
getFatigue
public float getFatigue() -
setFatigue
public void setFatigue(float fatigue) -
getFitness
public float getFitness() -
setFitness
public void setFitness(float fitness) -
getHunger
public float getHunger() -
setHunger
public void setHunger(float hunger) -
getIdleboredom
public float getIdleboredom() -
setIdleboredom
public void setIdleboredom(float idleboredom) -
getMorale
public float getMorale() -
setMorale
public void setMorale(float morale) -
getStress
public float getStress() -
setStress
public void setStress(float stress) -
getStressFromCigarettes
public float getStressFromCigarettes() -
setStressFromCigarettes
public void setStressFromCigarettes(float stressFromCigarettes) -
getFear
public float getFear() -
setFear
public void setFear(float Fear) -
getPanic
public float getPanic() -
setPanic
public void setPanic(float Panic) -
getSanity
public float getSanity() -
setSanity
public void setSanity(float Sanity) -
getSickness
public float getSickness() -
setSickness
public void setSickness(float Sickness) -
getPain
public float getPain() -
setPain
public void setPain(float Pain) -
getDrunkenness
public float getDrunkenness() -
setDrunkenness
public void setDrunkenness(float Drunkenness) -
getVisibleZombies
public int getVisibleZombies() -
setNumVisibleZombies
public void setNumVisibleZombies(int NumVisibleZombies) -
isTripping
public boolean isTripping() -
setTripping
public void setTripping(boolean Tripping) -
getTrippingRotAngle
public float getTrippingRotAngle() -
setTrippingRotAngle
public void setTrippingRotAngle(float TrippingRotAngle) -
getThirst
public float getThirst() -
setThirst
public void setThirst(float thirst) -
resetStats
public void resetStats()
-