![]() | EventTaskT Class |
Namespace: Slash.AI.BehaviorTrees.Implementations.Events
The EventTaskT type exposes the following members.
Name | Description | |
---|---|---|
![]() | EventTaskT | Initializes a new instance of the EventTaskT class |
Name | Description | |
---|---|---|
![]() | Activate |
Activation. This method is called when the task was chosen to be executed. It's called right before the first update of the task. The task can setup its specific task data in here and do initial actions.
(Overrides TaskActivate(IAgentData, IDecisionData).) |
![]() | Decide |
Depending on the group policy of its parent, the floating point return value indicates whether the decider will be activated.
(Overrides TaskDecide(IAgentData, IDecisionData).) |
![]() | Execute |
Execution of the event task specific code.
|
![]() | Finalize |
Finalizes an instance of the EventTaskT class. Destructor.
(Overrides ObjectFinalize.) |
![]() | OnEventOccured |
Called from derived event tasks to indicate that the event for the passed agent occured.
|
![]() | RegisterAgent |
Registers an agent, so the event task will be informed when the observed event occurs.
|
![]() | UnregisterAgent |
Unregisters an agent.
|