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, setName
public SystemAgent(World world)
world
- the worldpublic void play()
Agent
public abstract java.util.ArrayList<? extends Agent> getTargets()
public World getWorld()
public void setWorld(World world)
world
- the new world