Method | Description | |
---|---|---|
HandleHerbivore ( StatePatternCritter, herbivore ) : void | ||
HandlePredator ( string source, StatePatternCritter, predator ) : void | ||
HandleResource ( Collider plantColl ) : void | ||
Look ( ) : void | ||
OnTriggerEnter ( Collider other ) : void | ||
OnTriggerStay ( Collider other ) : void | ||
ToEnterState ( ) : void | ||
ToExitState ( ) : void | ||
ToFlightState ( StatePatternCritter, predator ) : void | ||
ToForageState ( ) : void | ||
ToIdleState ( ) : void | ||
ToPursuitState ( StatePatternCritter, prey ) : void | ||
ToWanderState ( ) : void | ||
UpdateState ( ) : void | ||
WanderState ( StatePatternCritter, activeCritter ) : UnityEngine |
Method | Description | |
---|---|---|
ReturnToOrigin ( ) : void | ||
SetDurations ( ) : void | ||
Wander ( ) : void |
public HandleHerbivore ( StatePatternCritter, herbivore ) : void | ||
herbivore | StatePatternCritter, | |
return | void |
public HandlePredator ( string source, StatePatternCritter, predator ) : void | ||
source | string | |
predator | StatePatternCritter, | |
return | void |
public HandleResource ( Collider plantColl ) : void | ||
plantColl | Collider | |
return | void |
public OnTriggerEnter ( Collider other ) : void | ||
other | Collider | |
return | void |
public OnTriggerStay ( Collider other ) : void | ||
other | Collider | |
return | void |
public ToFlightState ( StatePatternCritter, predator ) : void | ||
predator | StatePatternCritter, | |
return | void |
public ToPursuitState ( StatePatternCritter, prey ) : void | ||
prey | StatePatternCritter, | |
return | void |
public WanderState ( StatePatternCritter, activeCritter ) : UnityEngine | ||
activeCritter | StatePatternCritter, | |
return | UnityEngine |