|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
vs.characteragent.behaviour.ExplainerBehaviour
public class ExplainerBehaviour
Collects fabula elements and causalities from the character agent, and sends them to the Plot Agent Also keeps track of what the Plot Agent already received (although principally and by implementation it is no problem to send a fabula element twice, just that the PA already knew).
Field Summary |
---|
Fields inherited from class jade.core.behaviours.Behaviour |
---|
STATE_BLOCKED, STATE_READY, STATE_RUNNING |
Constructor Summary | |
---|---|
ExplainerBehaviour(BasicCharacterAgent arg0)
|
Method Summary | |
---|---|
void |
action()
|
boolean |
done()
|
void |
sendFabulaCausality(FabulaCausality fc)
Sends a fabula causality to the Plot Agent |
void |
sendFabulaElement(FabulaElement fe)
Sends a fabula element to the Plot Agent |
Methods inherited from class jade.core.behaviours.SimpleBehaviour |
---|
reset |
Methods inherited from class jade.core.behaviours.Behaviour |
---|
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExplainerBehaviour(BasicCharacterAgent arg0)
Method Detail |
---|
public void action()
action
in class jade.core.behaviours.Behaviour
public boolean done()
done
in class jade.core.behaviours.Behaviour
public void sendFabulaCausality(FabulaCausality fc)
fc
- the fabula causality to sendpublic void sendFabulaElement(FabulaElement fe)
fe
- the fabula element to send
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |