|
Axmol 3.0.0-89d6d9a
|
Contact information. More...
#include <ContactEvent2D.h>
Inherits CustomEvent.
Additional Inherited Members | |
| Public Types inherited from Event | |
| enum class | Type |
| Type Event type. | |
| Public Member Functions inherited from CustomEvent | |
| CustomEvent (std::string_view eventName) | |
| Constructor. | |
| void | setUserData (void *data) |
| Sets user data. | |
| void * | getUserData () const |
| Gets user data. | |
| std::string_view | getEventName () const |
| Gets event name. | |
| Public Member Functions inherited from Event | |
| Event (Type type) | |
| Constructor. | |
| virtual | ~Event () |
| Destructor. | |
| Type | getType () const |
| Gets the event type. | |
| void | stopPropagation () |
| Stops propagation for current event. | |
| bool | isStopped () const |
| Checks whether the event has been stopped. | |
| Node * | getCurrentTarget () |
| Gets current target of the event. | |
| Public Member Functions inherited from Object | |
| void | retain () |
| Retains the ownership. | |
| void | release () |
| Releases the ownership immediately. | |
| Object * | autorelease () |
| Releases the ownership sometime soon automatically. | |
| unsigned int | getReferenceCount () const |
| Returns the Object's current reference count. | |
| uint64_t | getObjectID () const noexcept |
| Returns the process-local diagnostic identifier assigned at construction. | |
| virtual | ~Object () |
| Destructor. | |
Contact information.
It will created automatically when two shape contact with each other. And it will destroyed automatically when two shape separated.