|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmassim.javaagents.Agent
mas.agents0815.SubsumptionAgent
mas.agents0815.AgentDefender
public class AgentDefender
Role description: as soon as a zone is established, he identifies enemies coming in the zon and attacks them
Field Summary |
---|
Fields inherited from class massim.javaagents.Agent |
---|
goals |
Constructor Summary | |
---|---|
AgentDefender(java.lang.String name,
java.lang.String team)
|
Method Summary | |
---|---|
java.lang.String |
getMyRole()
|
Methods inherited from class massim.javaagents.Agent |
---|
addBelief, addGoal, broadcastBelief, clearBeliefs, clearGoals, containsBelief, containsGoal, createAgentFromClass, equals, getAllBeliefs, getAllPercepts, getBeliefBase, getEnvironmentInterface, getGoalBase, getMessages, getName, getTeam, hashCode, println, removeBeliefs, removeGoals, sendMessage, setEnvironmentInterface |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentDefender(java.lang.String name, java.lang.String team)
Method Detail |
---|
public java.lang.String getMyRole()
getMyRole
in class SubsumptionAgent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |