RoadUserRenderer extends AbstractCanvasRenderer { @CheckReturnValue public static Builder builder() { return Builder.create(); } RoadUserRenderer(RoadModel rm, UiSchema schema, boolean encirclement,
      boolean textLabel); @Override void renderDynamic(GC gc, ViewPort vp, long time); @Override void renderStatic(GC gc, ViewPort vp); @CheckReturnValue static Builder builder();  }
@Test public void test() { final Simulator sim = Simulator.builder() .addModel(RoadModelBuilders.plane()) .addModel(View.builder() .with(PlaneRoadModelRenderer.builder()) .with(RoadUserRenderer.builder() .withColorAssociation(Agent1.class, new RGB(255, 0, 255)) .withColorAssociation(Agent2.class, new RGB(0, 0, 255)) .withColorAssociation(Agent3.class, new RGB(255, 200, 0)) .withCircleAroundObjects()) .withAutoPlay() .withAutoClose() .withSimulatorEndTime(10000)) .build(); for (int i = 0; i < 11; i++) { if (i != 5) { sim.register(new Agent1(new Point(i, i))); sim.register(new Agent3(new Point(i, 10 - i))); } } sim.register(new Agent2(new Point(5, 5))); sim.start(); }