public class MoveAction extends java.lang.Object implements AgentAction
move-agent
action, requesting
to move an agent within the platform.Constructor and Description |
---|
MoveAction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
MobileAgentDescription |
getMobileAgentDescription()
Retrieve the value of the
mobile-agent-description
slot of this event, containing the description of the agent to
migrate. |
void |
setMobileAgentDescription(MobileAgentDescription desc)
Set the
mobile-agent-description slot of this
action. |
public MoveAction()
public void setMobileAgentDescription(MobileAgentDescription desc)
mobile-agent-description
slot of this
action.desc
- The description of the agent to migrate.public MobileAgentDescription getMobileAgentDescription()
mobile-agent-description
slot of this event, containing the description of the agent to
migrate.mobile-agent-description
slot, or null
if no value was set.