86878889909192939495
return a; } protected AgentBody makeAgentBody() { Phys2DAgentBody aBody = new Phys2DAgentBody(new Circle(20), 0.5f); GridGPSSensor gps = new GridGPSSensor(cellwidth, cellheight); gps.setBody(aBody); aBody.add(gps); return aBody; }