12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #ifndef B2_CONTACT_MANAGER_H
- #define B2_CONTACT_MANAGER_H
- #include <Box2D/Collision/b2BroadPhase.h>
- class b2Contact;
- class b2ContactFilter;
- class b2ContactListener;
- class b2BlockAllocator;
- class b2ContactManager
- {
- public:
- b2ContactManager();
-
- void AddPair(void* proxyUserDataA, void* proxyUserDataB);
- void FindNewContacts();
- void Destroy(b2Contact* c);
- void Collide();
-
- b2BroadPhase m_broadPhase;
- b2Contact* m_contactList;
- int32 m_contactCount;
- b2ContactFilter* m_contactFilter;
- b2ContactListener* m_contactListener;
- b2BlockAllocator* m_allocator;
- };
- #endif
|