Handler for notifications of ContactEvents from the b2World.
More...
|
| virtual void | BeginContact (b2Contact *contact) override |
| | Notifies both Bodys involved that they have contacted. More...
|
| |
| virtual void | EndContact (b2Contact *contact) override |
| | Notifies both Bodys involved that they are no longer contacting. More...
|
| |
Handler for notifications of ContactEvents from the b2World.
| virtual void ContactListener::BeginContact |
( |
b2Contact * |
contact | ) |
|
|
overridevirtual |
Notifies both Bodys involved that they have contacted.
- Parameters
-
| contact | Contact between both bodies |
| virtual void ContactListener::EndContact |
( |
b2Contact * |
contact | ) |
|
|
overridevirtual |
Notifies both Bodys involved that they are no longer contacting.
- Parameters
-
| contact | Contact between both bodies |