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 classSurvivorPersonality.Personality -
Field Summary
Fields Modifier and Type Field Description SurvivorPersonality.Personalitytype -
Constructor Summary
Constructors Constructor Description SurvivorPersonality() -
Method Summary
Modifier and Type Method Description voidCreateBehaviours(IsoSurvivor survivor)static SurvivorPersonalityCreatePersonality(SurvivorPersonality.Personality type)intgetHuntZombieRange()floatgetPlayerDistanceComfort()intgetZombieFleeAmount()intgetZombieIgnoreOrdersCount()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()
-