Package zombie.characters.personalities
Class Cowardly
java.lang.Object
zombie.characters.SurvivorPersonality
zombie.characters.personalities.Cowardly
public class Cowardly extends SurvivorPersonality
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.characters.SurvivorPersonality
SurvivorPersonality.Personality -
Field Summary
Fields inherited from class zombie.characters.SurvivorPersonality
type -
Constructor Summary
Constructors Constructor Description Cowardly() -
Method Summary
Modifier and Type Method Description voidCreateBehaviours(IsoSurvivor survivor)intgetHuntZombieRange()intgetZombieFleeAmount()Methods inherited from class zombie.characters.SurvivorPersonality
CreatePersonality, getPlayerDistanceComfort, getZombieIgnoreOrdersCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Cowardly
public Cowardly()
-
-
Method Details
-
CreateBehaviours
- Overrides:
CreateBehavioursin classSurvivorPersonality
-
getHuntZombieRange
public int getHuntZombieRange()- Overrides:
getHuntZombieRangein classSurvivorPersonality
-
getZombieFleeAmount
public int getZombieFleeAmount()- Overrides:
getZombieFleeAmountin classSurvivorPersonality
-