Méthode | Description | |
---|---|---|
HandleHerbivore ( StatePatternCritter, herbivore ) : void | ||
HandleResource ( Collider plant ) : void | ||
Look ( ) : void | ||
OnTriggerEnter ( Collider hit ) : void | ||
OnTriggerStay ( Collider other ) : void | ||
PursuitState ( StatePatternCritter, activeCritter ) : System.Collections | ||
ToEnterState ( ) : void | ||
ToExitState ( ) : void | ||
ToFlightState ( StatePatternCritter, predator ) : void | ||
ToForageState ( ) : void | ||
ToIdleState ( ) : void | ||
ToPursuitState ( StatePatternCritter, prey ) : void | ||
ToWanderState ( ) : void | ||
UpdateState ( ) : void |
Méthode | Description | |
---|---|---|
Pursue ( ) : void |
public HandleHerbivore ( StatePatternCritter, herbivore ) : void | ||
herbivore | StatePatternCritter, | |
Résultat | void |
public HandleResource ( Collider plant ) : void | ||
plant | Collider | |
Résultat | void |
public OnTriggerEnter ( Collider hit ) : void | ||
hit | Collider | |
Résultat | void |
public OnTriggerStay ( Collider other ) : void | ||
other | Collider | |
Résultat | void |
public PursuitState ( StatePatternCritter, activeCritter ) : System.Collections | ||
activeCritter | StatePatternCritter, | |
Résultat | System.Collections |
public ToFlightState ( StatePatternCritter, predator ) : void | ||
predator | StatePatternCritter, | |
Résultat | void |
public ToPursuitState ( StatePatternCritter, prey ) : void | ||
prey | StatePatternCritter, | |
Résultat | void |