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 dataInputStream)
void
load(java.nio.ByteBuffer byteBuffer, int int1)
void
resetStats()
void
save(java.io.DataOutputStream dataOutputStream)
void
save(java.nio.ByteBuffer byteBuffer)
void
setAnger(float float1)
void
setBoredom(float float1)
void
setDrunkenness(float float1)
void
setEndurance(float float1)
void
setEndurancedanger(float float1)
void
setEndurancelast(float float1)
void
setEndurancewarn(float float1)
void
setFatigue(float float1)
void
setFear(float float1)
void
setFitness(float float1)
void
setHunger(float float1)
void
setIdleboredom(float float1)
void
setMorale(float float1)
void
setNumVisibleZombies(int int1)
void
setPain(float float1)
void
setPanic(float float1)
void
setSanity(float float1)
void
setSickness(float float1)
void
setStress(float float1)
void
setStressFromCigarettes(float float1)
void
setThirst(float float1)
void
setTripping(boolean boolean1)
void
setTrippingRotAngle(float float1)
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 dataInputStream) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.io.DataOutputStream dataOutputStream) throws java.io.IOException- Throws:
java.io.IOException
-
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
getAnger
public float getAnger() -
setAnger
public void setAnger(float float1) -
getBoredom
public float getBoredom() -
setBoredom
public void setBoredom(float float1) -
getEndurance
public float getEndurance() -
setEndurance
public void setEndurance(float float1) -
getEndurancelast
public float getEndurancelast() -
setEndurancelast
public void setEndurancelast(float float1) -
getEndurancedanger
public float getEndurancedanger() -
setEndurancedanger
public void setEndurancedanger(float float1) -
getEndurancewarn
public float getEndurancewarn() -
setEndurancewarn
public void setEndurancewarn(float float1) -
getEnduranceRecharging
public boolean getEnduranceRecharging() -
getFatigue
public float getFatigue() -
setFatigue
public void setFatigue(float float1) -
getFitness
public float getFitness() -
setFitness
public void setFitness(float float1) -
getHunger
public float getHunger() -
setHunger
public void setHunger(float float1) -
getIdleboredom
public float getIdleboredom() -
setIdleboredom
public void setIdleboredom(float float1) -
getMorale
public float getMorale() -
setMorale
public void setMorale(float float1) -
getStress
public float getStress() -
setStress
public void setStress(float float1) -
getStressFromCigarettes
public float getStressFromCigarettes() -
setStressFromCigarettes
public void setStressFromCigarettes(float float1) -
getFear
public float getFear() -
setFear
public void setFear(float float1) -
getPanic
public float getPanic() -
setPanic
public void setPanic(float float1) -
getSanity
public float getSanity() -
setSanity
public void setSanity(float float1) -
getSickness
public float getSickness() -
setSickness
public void setSickness(float float1) -
getPain
public float getPain() -
setPain
public void setPain(float float1) -
getDrunkenness
public float getDrunkenness() -
setDrunkenness
public void setDrunkenness(float float1) -
getVisibleZombies
public int getVisibleZombies() -
setNumVisibleZombies
public void setNumVisibleZombies(int int1) -
isTripping
public boolean isTripping() -
setTripping
public void setTripping(boolean boolean1) -
getTrippingRotAngle
public float getTrippingRotAngle() -
setTrippingRotAngle
public void setTrippingRotAngle(float float1) -
getThirst
public float getThirst() -
setThirst
public void setThirst(float float1) -
resetStats
public void resetStats()
-