|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectalice.tucson.api.Agent
explorer.ExplorerAgent
public abstract class ExplorerAgent
This abstract class represent an Explorer Agent
Field Summary | |
---|---|
static int |
EAST
EAST direction |
static int |
NORTH
NORTH direction |
static int |
SOUTH
SOUTH direction |
static int |
WEST
WEST direction |
Constructor Summary | |
---|---|
ExplorerAgent(alice.tucson.api.AgentId id,
SpaceGrid grid,
int x,
int y)
Constructs a new Explorer Agent |
Method Summary |
---|
Methods inherited from class alice.tucson.api.Agent |
---|
spawn |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NORTH
public static final int EAST
public static final int SOUTH
public static final int WEST
Constructor Detail |
---|
public ExplorerAgent(alice.tucson.api.AgentId id, SpaceGrid grid, int x, int y) throws alice.tucson.api.TucsonException
id
- Agent ID.grid
- The virual space where agent works.x
- The x position of the agenty
- The y position of the agent
alice.tucson.api.TucsonException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |