Method | Description | |
---|---|---|
ForageState ( StatePatternCritter, activeCritter ) : System.Collections | ||
HandlePredator ( StatePatternCritter, predator ) : 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 |
Method | Description | |
---|---|---|
Forage ( ) : void | ||
SetDurations ( ) : void |
public ForageState ( StatePatternCritter, activeCritter ) : System.Collections | ||
activeCritter | StatePatternCritter, | |
return | System.Collections |
public HandlePredator ( StatePatternCritter, predator ) : void | ||
predator | StatePatternCritter, | |
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 |