Click or drag to resize
EventTaskT Methods

The EventTaskT generic 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).)
Public methodDecide
Depending on the group policy of its parent, the floating point return value indicates whether the decider will be activated.
(Overrides TaskDecide(IAgentData, IDecisionData).)
Protected methodExecute
Execution of the event task specific code.
Protected methodFinalize (Overrides ObjectFinalize.)
Protected methodOnEventOccured
Called from derived event tasks to indicate that the event for the passed agent occured.
Protected methodRegisterAgent
Registers an agent, so the event task will be informed when the observed event occurs.
Protected methodUnregisterAgent
Unregisters an agent.
Top
See Also