|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectyaes.application.eel6938.game.objects.GameObject
yaes.application.eel6938.game.objects.Agent
yaes.application.eel6938.classagents.KillerAgent
| Constructor Summary | |
KillerAgent()
|
|
| Method Summary | |
int[] |
getColor()
Returns the color of the agent. |
java.lang.String |
getName()
Returns the name of the agent. |
void |
intelligence()
Specifies the user defined agent intelligence, must be implemented by all agents. |
| Methods inherited from class yaes.application.eel6938.game.objects.Agent |
attack, attack, canAttack, canEat, canFlee, canMate, eat, eat, flee, getClosestOpenNeighbouringPoint, getDirections, getEnergyLevel, getSensorAgentList, getSensorDataMap, getSensorFoodList, getSensorObstacleList, mate, move, wasLastCommandSuccessful |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KillerAgent()
| Method Detail |
public void intelligence()
Agenteateat(int)attack()attack(int)flee(int)mate()move(int, int)
intelligence in class Agentpublic java.lang.String getName()
Agent
getName in class Agentpublic int[] getColor()
Agent
getColor in class Agent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||