org.jbox2d.dynamics
Class ContactManager
java.lang.Object
org.jbox2d.dynamics.ContactManager
- All Implemented Interfaces:
- PairCallback
public class ContactManager
- extends Object
- implements PairCallback
Delegate of World - for internal use.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContactManager
public ContactManager()
pairAdded
public Object pairAdded(Object proxyUserData1,
Object proxyUserData2)
- Description copied from interface:
PairCallback
- This should return the new pair user data. It is okay if the
user data is null.
- Specified by:
pairAdded
in interface PairCallback
pairRemoved
public void pairRemoved(Object proxyUserData1,
Object proxyUserData2,
Object pairUserData)
- Description copied from interface:
PairCallback
- This should free the pair's user data. In extreme circumstances, it is
possible this will be called with null pairUserData because the pair never
existed.
- Specified by:
pairRemoved
in interface PairCallback
destroy
public void destroy(Contact c)
collide
public void collide()