cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PhysicsContactListener Class Reference

#include <CCPhysicsContact.h>

Public Member Functions

 PhysicsContactListener ()
virtual ~PhysicsContactListener ()

Public Attributes

std::function< bool(const
PhysicsContact &contact)> 
onContactBegin
std::function< bool(const
PhysicsContact &contact, const
PhysicsContactPreSolve &solve)> 
onContactPreSolve
std::function< void(const
PhysicsContact &contact, const
PhysicsContactPostSolve &solve)> 
onContactPostSolve
std::function< void(const
PhysicsContact &contact)> 
onContactEnd

Constructor & Destructor Documentation

virtual ~PhysicsContactListener ( )
virtual

Member Data Documentation

std::function<bool(const
PhysicsContact& contact)>
onContactBegin
std::function<void(const
PhysicsContact& contact)>
onContactEnd
std::function<void(const
PhysicsContact& contact, const
PhysicsContactPostSolve& solve)>
onContactPostSolve
std::function<bool(const
PhysicsContact& contact, const
PhysicsContactPreSolve& solve)>
onContactPreSolve

The documentation for this class was generated from the following file: