| ReferenceTask Class |
Namespace: Slash.AI.BehaviorTrees.Implementations
The ReferenceTask type exposes the following members.
| Name | Description | |
|---|---|---|
| ReferenceTask |
Initializes a new instance of the ReferenceTask class. Constructor.
|
| Name | Description | |
|---|---|---|
| DecoratorTask |
Capsuled task if referenced task is a decorator.
| |
| Name |
Debug name.
| |
| TaskDescription |
Description of the task which is referenced.
|
| Name | Description | |
|---|---|---|
| Activate |
Activation.
| |
| Deactivate |
Deactivation.
| |
| Decide |
Depending on the group policy of its parent, the floating point return value indicates whether the task will be activated.
| |
| Equals(Object) |
The equals.
(Overrides ObjectEquals(Object).) | |
| Equals(ReferenceTask) |
The equals.
| |
| FindTasks |
Searches for tasks which forfill the passed predicate.
| |
| GetActiveTasks |
Generates a collection of active task nodes under this task. Used for debugging only.
| |
| GetHashCode |
The get hash code.
(Overrides ObjectGetHashCode.) | |
| GetSchema |
The get schema.
| |
| GetValueOrDefault |
Returns the stored parameter value or, if none is set, the default value.
| |
| ReadUnknownTask |
Reads an unknown task from xml and tries to capsule it into a ReferenceTask object. If no task description for the task type was found, null is returned.
| |
| ReadXml |
The read xml.
| |
| SetValue |
Sets the value for the parameter with the specified description.
| |
| TryGetValue(TaskParameterDescription, Object) |
Tries to fetch the value of the parameter with the passed description.
| |
| TryGetValueT(TaskParameterDescription, T) |
Tries to fetch the value of the parameter with the passed description.
| |
| Update |
Per frame update.
| |
| WriteXml |
The write xml.
|
| Name | Description | |
|---|---|---|
| OnSuccess |
Called when task finished successful.
| |
| ParameterChanged |
Called when the value of a task parameter changed.
| |
| TaskDescriptionChanged |
Called when the task description of the reference task changed.
|