org.jbox2d.dynamics
Class ContactManager
java.lang.Object
org.jbox2d.dynamics.ContactManager
- All Implemented Interfaces:
- PairCallback
public class ContactManager
- extends java.lang.Object
- implements PairCallback
Delegate of World.
- Author:
- Daniel Murphy
Method Summary |
void |
addPair(java.lang.Object proxyUserDataA,
java.lang.Object proxyUserDataB)
Broad-phase callback. |
void |
collide()
This is the top level collision call for the time step. |
void |
destroy(Contact c)
|
void |
findNewContacts()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_broadPhase
public BroadPhase m_broadPhase
m_contactList
public Contact m_contactList
m_contactCount
public int m_contactCount
m_contactFilter
public ContactFilter m_contactFilter
m_contactListener
public ContactListener m_contactListener
ContactManager
public ContactManager(World argPool)
addPair
public void addPair(java.lang.Object proxyUserDataA,
java.lang.Object proxyUserDataB)
- Broad-phase callback.
- Specified by:
addPair
in interface PairCallback
- Parameters:
proxyUserDataA
- proxyUserDataB
-
findNewContacts
public void findNewContacts()
destroy
public void destroy(Contact c)
collide
public void collide()
- This is the top level collision call for the time step. Here all the narrow phase collision is
processed for the world contact list.
Copyright © 2012. All Rights Reserved.