agentland.geo
Interface Geometry
- All Superinterfaces:
- Agent, Good, Managed, Remote, Spy
- All Known Implementing Classes:
- GeometryAgent
- public interface Geometry
- extends Managed
Manage the physical space of a society. Agents can have physical
Manifestations which can be moved around the rooms manifestation.
You can ask where agents are, what agents are closest to a given
space, etc.
Methods inherited from interface agentland.util.Spy |
tell |
setManifestation
public void setManifestation(AgentID agt,
Manifestation manif)
throws RemoteException
removeManifestation
public void removeManifestation(AgentID agt)
throws RemoteException
setSpace
public void setSpace(Manifestation manif)
throws RemoteException
getManifestation
public Manifestation getManifestation(AgentID agt)
throws RemoteException
getSpace
public Manifestation getSpace()
throws RemoteException
getManifestations
public Vector getManifestations(Filter f)
throws RemoteException
- Get all manifestations matching the filter. Null filter gives over
all of em!
- Parameters:
f
- Filter that filters on the Manifestations
getManifestationsByID
public Vector getManifestationsByID(Filter f)
throws RemoteException
getAgentAt
public AgentID getAgentAt(Point3D point)
throws RemoteException
- Return agent at given point
getAgentAt
public AgentID getAgentAt(int x,
int y,
int z)
throws RemoteException
getAgentClosestTo
public AgentID getAgentClosestTo(Point3D point)
throws RemoteException
- Return agent nearest given point
getAgentClosestTo
public AgentID getAgentClosestTo(int x,
int y,
int z)
throws RemoteException
moveAgent
public void moveAgent(AgentID agt,
int dx,
int dy,
int dz)
throws RemoteException
- Probably the most common manipulation. Move the agent.