|Constructor and Description|
|Modifier and Type||Method and Description|
Runs the behaviour.
block, block, getAgent, getBehaviourName, getDataStore, getParent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore
public StateResetter(java.lang.String states)
states- Represent the names of FSM's to reset. If null the parent Behaviour is resetted
public void action()
Behavioursubclasses to perform ordinary behaviour duty. An agent schedules its behaviours calling their
action()method; since all the behaviours belonging to the same agent are scheduled cooperatively, this method must not enter in an endless loop and should return as soon as possible to preserve agent responsiveness. To split a long and slow task into smaller section, recursive behaviour aggregation may be used.