public abstract class SystemAgent extends Agent implements java.io.Serializable
| Constructor and Description |
|---|
SystemAgent(World world)
Instantiates a new system agent.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.ArrayList<? extends Agent> |
getTargets()
Gets the targets.
|
World |
getWorld()
Gets the world.
|
void |
play()
Play one agent step.
|
void |
setWorld(World world)
Sets the world.
|
computeAMessage, die, getID, getMessages, getMessagesBin, getName, isDying, readMessage, sendExpressMessage, sendMessage, sendMessage, setDying, setID, setMessages, setMessagesBin, setNamepublic SystemAgent(World world)
world - the worldpublic void play()
Agentpublic abstract java.util.ArrayList<? extends Agent> getTargets()
public World getWorld()
public void setWorld(World world)
world - the new world