Behaviour
. onEnd
is called after the behaviour has been removed from the pool of behaviours to be executed by an agent. Therefore calling reset()
is not sufficient to cyclically repeat the task represented by this Behaviour
. In order to achieve that, this Behaviour
must be added again to the agent (using myAgent.addBehaviour(this)
). The same applies to in the case of a Behaviour
that is a child of a ParallelBehaviour
.
@return an integer code representing the termination value ofthe behaviour.
ElementPath
to process
|
|
|
|
|
|
|
|
|
|