|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--alice.tucson.api.Agent | +--sid.agent.RobotAgent | +--sid.agent.DetectAgent
agente rilevatore di mine
Constructor Summary | |
DetectAgent(int x,
int y,
int[][] matrix,
alice.tucson.api.AgentId name)
costruttore |
Method Summary | |
protected void |
body()
definizione del body dell'agente rilevatore di mine |
Methods inherited from class sid.agent.RobotAgent |
getX, getY, setX, setY |
Methods inherited from class alice.tucson.api.Agent |
getContext, getId, getSpec, in, inp, out, rd, rdp, setSpec, spawn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DetectAgent(int x, int y, int[][] matrix, alice.tucson.api.AgentId name) throws java.lang.Exception
x
- la coordinata x che relativa alla posizione iniziale dell' Agenty
- la coordinata y relativa alla posizione iniziale dell' Agentmatrix
- riferimento alla matrice usata per aggiornare l'interfaccia grafica del campo minatoname
- il nome del robot agent, ovvero il suo identificativoMethod Detail |
protected void body()
body
in class alice.tucson.api.Agent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |