Army ant simulation
Public Member Functions | List of all members
MyContactListener_v2 Class Reference

#include <Demo.h>

Inheritance diagram for MyContactListener_v2:
Inheritance graph
[legend]
Collaboration diagram for MyContactListener_v2:
Collaboration graph
[legend]

Public Member Functions

 MyContactListener_v2 (RobotController &robotController)
 
void BeginContact (b2Contact *contact)
 
void EndContact (b2Contact *contact)
 

Detailed Description

This class is a listener on the box2D body contacts. In case of contact it calls the RobotController::findContactRobots(contact) method

Definition at line 36 of file Demo.h.


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