This interface must me implemented by both your Player1 and Player2 classes.
| Method Summary | |
AgentPosition |
getInitialPosition(int agentNumber)
This method gets the postition of an Agent |
AgentPosition |
move()
This method moves one Agent one step up,down,left or right |
| Method Detail |
public AgentPosition getInitialPosition(int agentNumber)
agentNumber - The number of the agent whose position is requiredAgentPosition instance for the agentpublic AgentPosition move()
AgentPosition instance for the agent that was moved