#include <ContactListener2D.hpp>
Definition at line 37 of file ContactListener2D.hpp.
virtual jop::ContactListener2D::~ContactListener2D |
( |
| ) |
|
|
pure virtual |
Begin contact callback.
This is called when two fixtures begin to overlap. This event can only occur inside the time step. This is called for sensors and non-sensors.
- Parameters
-
collider | Reference to the collider which is being collided with |
ci | Contact info containing the contact point and contact normal |
virtual void jop::ContactListener2D::endContact |
( |
Collider2D & |
collider | ) |
|
|
virtual |
End contact callback.
This is called when two fixtures cease to overlap. This is called for sensors and non-sensors. This may be called when a body is destroyed, so this event can occur outside the time step.
- Parameters
-
collider | Reference to the collider which was being collided with |
The documentation for this class was generated from the following file: