Package zombie.characters
Class Stats
java.lang.Object
zombie.characters.Stats
-
Field Summary
Modifier and TypeFieldDescriptionfloat
float
float
float
float
float
float
float
boolean
float
float
float
float
float
float
int
int
int
float
int
int
int
static int
int
float
float
float
float
float
float
float
boolean
float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getAnger()
float
float
float
float
float
boolean
float
float
float
getFear()
float
float
float
float
float
int
int
int
float
getPain()
float
getPanic()
float
float
float
float
float
float
int
boolean
void
load
(DataInputStream input) void
load
(ByteBuffer input, int WorldVersion) void
void
save
(DataOutputStream output) void
save
(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)
-
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
- Throws:
IOException
-
load
- Throws:
IOException
-
save
- Throws:
IOException
-
save
- 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()
-