Click or drag to resize
Decorator Methods

The Decorator type exposes the following members.

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).)
Protected methodActivateChild
Activates the child of the decorator.
Public methodAddChild
Adds a child to this group task.
Public methodDeactivate
Deactivation.
(Overrides TaskDeactivate(IAgentData).)
Protected methodDeactivateChild
Deactivates the child of the decorator.
Public methodDecide
Depending on the group policy of its parent, the floating point return value indicates whether the task will be activated.
(Overrides TaskDecide(IAgentData, IDecisionData).)
Protected methodDecideChild
Let's the child decide.
Public methodEquals(Object)
The equals.
(Overrides TaskEquals(Object).)
Public methodEquals(Decorator)
The equals.
Public methodFindTasks
Searches for tasks which forfill the passed predicate.
(Overrides TaskFindTasks(TaskNode, FuncITask, Boolean, ICollectionTaskNode).)
Public methodGetHashCode
The get hash code.
(Overrides TaskGetHashCode.)
Public methodInsertChild
Inserts a child to this group task at the passed index.
Public methodMoveChild
Moves a child to the passed position inside the group.
Public methodRemoveChild
Removes a child from this group task.
Public methodUpdate
Per frame update.
(Overrides TaskUpdate(IAgentData).)
Protected methodUpdateChild
Updates the child of the decorator.
Top
See Also