AnimalWithinEatingRange Method |
Used to determine if your creature is within range to eat another target creature.
This method does not attempt to validate the position of the organismState with respect to the current world state. If you pass a stale object in then you may get stale results. Make sure you use the LookFor method to get the most up-to-date results.
Namespace: Terrarium.Sdk.Classes.Creature
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the targetOrganism parameter is null. |