Class HasWorkConsideration
Consider if there are any trees remaining.
Inherited Members
Namespace: TinnyStudios.AIUtility.Impl.Examples.FarmerHero
Assembly: UtilityAIFramework.dll
Syntax
public class HasWorkConsideration : Consideration
Methods
Bind(TreeObjectManager)
Shows an example of how to inject TreeObjectManager
Declaration
public void Bind(TreeObjectManager treeObjectManager)
Parameters
Type | Name | Description |
---|---|---|
TreeObjectManager | treeObjectManager |
GetScore(Agent, IUtilityAction)
Declaration
public override float GetScore(Agent agent, IUtilityAction action)
Parameters
Type | Name | Description |
---|---|---|
Agent | agent | |
IUtilityAction | action |
Returns
Type | Description |
---|---|
Single |