public abstract class Behavior extends AgentTrait implements IBehaviorGuardEvaluatorReceiver
Constructor and Description |
---|
Behavior(agent : Agent)
Construct a behavior for the given agent.
|
Modifier and Type | Method and Description |
---|---|
protected void |
install()
This method is called just after the installation of this behavior into its
owner agent.
|
protected void |
uninstall()
This method is called just after the uninstallation of this behavior from its
owner agent.
|
clearSkill, getID, getOwner, getSkill, hasSkill, isFromMe, isMe, isMe, operator_mappedTo, setSkill, setSkillIfAbsent, toString
toString
public new
(agent : Agent)
agent
- the owner of this behavior.protected def
install() : void
Behavior
Initialize
event, i.e. it is called before the firing of the event.protected def
uninstall() : void
Behavior
Destroy
event, i.e. it is called after the firing of the event.Copyright © 2021 the original authors or authors.