Package zombie.characters
Class SurvivorPersonality
java.lang.Object
zombie.characters.SurvivorPersonality
- Direct Known Subclasses:
Cowardly
,FriendlyArmed
,GunNut
,Kate
public class SurvivorPersonality
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SurvivorPersonality.Personality
-
Field Summary
Fields Modifier and Type Field Description SurvivorPersonality.Personality
type
-
Constructor Summary
Constructors Constructor Description SurvivorPersonality()
-
Method Summary
Modifier and Type Method Description void
CreateBehaviours(IsoSurvivor survivor)
static SurvivorPersonality
CreatePersonality(SurvivorPersonality.Personality personality)
int
getHuntZombieRange()
float
getPlayerDistanceComfort()
int
getZombieFleeAmount()
int
getZombieIgnoreOrdersCount()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
type
-
-
Constructor Details
-
SurvivorPersonality
public SurvivorPersonality()
-
-
Method Details
-
getZombieFleeAmount
public int getZombieFleeAmount() -
getPlayerDistanceComfort
public float getPlayerDistanceComfort() -
getZombieIgnoreOrdersCount
public int getZombieIgnoreOrdersCount() -
CreatePersonality
-
CreateBehaviours
-
getHuntZombieRange
public int getHuntZombieRange()
-