move
Request the agent to move in a certain direction.
agent.move(FORWARD, 1);
Parameters
- direction: the direction to move the agent, such as: FORWARD
- blocks: how far the agent should move, in blocks, like: 1
Example
Move your agent backwards by 3 blocks.
agent.move(BACK, 3);