Class BuySwordAction
Buys the sword. In this case, sets Inventory.HasWeapon to true.
Implements
Inherited Members
Namespace: TinnyStudios.AIUtility.Impl.Examples.FarmerHero
Assembly: UtilityAIFramework.dll
Syntax
public class BuySwordAction : UtilityAction, IUtilityAction
Methods
OnPerformByDurationCompleted(Agent)
Declaration
protected override void OnPerformByDurationCompleted(Agent agent)
Parameters
Type | Name | Description |
---|---|---|
Agent | agent |
Overrides
Perform(Agent)
Declaration
public override EActionStatus Perform(Agent agent)
Parameters
Type | Name | Description |
---|---|---|
Agent | agent |
Returns
Type | Description |
---|---|
EActionStatus |