comp::Physical2D_Listener Class Referenceabstract
#include <Physical2D.hpp>
Public Member Functions | |
Physical2D_Listener (iv::Instance *inst, Physical2D_World *world) | |
virtual void | PhysicalBody2D_BeginContact (Physical2D *a, Physical2D *b)=0 |
virtual void | PhysicalBody2D_EndContact (Physical2D *a, Physical2D *b)=0 |
![]() | |
GenericListener (iv::Instance *inst, GenericListener_Index< Listener > *index) | |
~GenericListener () | |
iv::Instance * | instance () const |
void | Initialize () |
void | VerifyInitialization () |
Public Attributes | |
iv::ClientMarker | cm |
![]() | |
iv::ClientMarker | cm |
Detailed Description
Do not forget to call this->comp::Physical2D_Listener::Initialize(), it will suppress warning about missing initialization (but it does nothing else in this case :-) ).
Definition at line 46 of file Physical2D.hpp.
Constructor & Destructor Documentation
◆ Physical2D_Listener()
comp::Physical2D_Listener::Physical2D_Listener | ( | iv::Instance * | inst, |
Physical2D_World * | world | ||
) |
Definition at line 55 of file Physical2D.cpp.
Member Function Documentation
◆ PhysicalBody2D_BeginContact()
|
pure virtual |
◆ PhysicalBody2D_EndContact()
|
pure virtual |
Member Data Documentation
◆ cm
iv::ClientMarker comp::Physical2D_Listener::cm |
Definition at line 49 of file Physical2D.hpp.
The documentation for this class was generated from the following files:
- iv_components/Physical2D/Physical2D.hpp
- iv_components/Physical2D/Physical2D.cpp