org.jbox2d.dynamics
Interface BoundaryListener


public interface BoundaryListener

This is called when a body's shape passes outside of the world boundary.


Method Summary
 void violation(Body body)
          This is called for each body that leaves the world boundary.
 

Method Detail

violation

void violation(Body body)
This is called for each body that leaves the world boundary.

Warning: you can't modify the world inside this callback.