Class BuySwordConsideration
Consider if there is a monster then you would want to buy a sword. This is a very concrete implementation, you could reuse HasMonsterConsideration
Inherited Members
Namespace: TinnyStudios.AIUtility.Impl.Examples.FarmerHero
Assembly: UtilityAIFramework.dll
Syntax
public class BuySwordConsideration : Consideration
Methods
GetScore(Agent, IUtilityAction)
Declaration
public override float GetScore(Agent agent, IUtilityAction action)
Parameters
Type | Name | Description |
---|---|---|
Agent | agent | |
IUtilityAction | action |
Returns
Type | Description |
---|---|
Single |