Click or drag to resize
BaseTaskTTaskData Class
Base class for tasks to have no need to implement empty methods in classes which implement the ITask interface.
Inheritance Hierarchy

Namespace: Slash.AI.BehaviorTrees.Implementations
Assembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntax
[SerializableAttribute]
public class BaseTask<TTaskData> : Task
where TTaskData : new(), ITaskData

Type Parameters

TTaskData

The BaseTaskTTaskData type exposes the following members.

Constructors
  NameDescription
Public methodBaseTaskTTaskData
Initializes a new instance of the BaseTaskTTaskData class
Top
Methods
  NameDescription
Public methodActivate
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).)
Public methodDeactivate
Deactivation.
(Overrides TaskDeactivate(IAgentData).)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides TaskEquals(Object).)
Public methodEquals(BaseTaskTTaskData)
Determines whether the specified BaseTask is equal to the current BaseTask.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides TaskGetHashCode.)
Top
See Also