Class SleepAction
When performed, sets Sleepiness to 0.
Implements
Inherited Members
Namespace: TinnyStudios.AIUtility.Impl.Examples.FarmerHero
Assembly: UtilityAIFramework.dll
Syntax
public class SleepAction : 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 |