Class HasWeaponConsideration
Considers if the agent has a weapon already or not.
Inherited Members
Namespace: TinnyStudios.AIUtility.Impl.Examples.FarmerHero
Assembly: UtilityAIFramework.dll
Syntax
public class HasWeaponConsideration : 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 |