6465666768697071727374
world.setOptionPool(optionPool); agent = makeAgent(optionPool); AgentBody aBody = makeAgentBody(); sim = new Simulator(); sim.setEnvironment(world); world.add(agent, aBody); sim.setAgent(agent); }