101 #endif //SENSORDATA_HPP
int getID()
Definition: SensorData.hpp:92
A class wrapping some user data for Box2D fixtures. Includes data for number of contacts being made t...
Definition: SensorData.hpp:30
void contactEnded()
Decrements the number of contacts made to the sensor. Call this function inside a Box2D contact liste...
Definition: SensorData.hpp:77
Definition: SensorData.hpp:15
void contactMade()
Increments the number of contacts made to the sensor. Call this function inside a Box2D contact liste...
Definition: SensorData.hpp:62
Definition: SensorData.hpp:17
~SensorData()
Definition: SensorData.hpp:49
int m_contacts
the number of contacts made with the sensor.
Definition: SensorData.hpp:96
int getContacts()
Get the number of contacts currently being made to the sensor.
Definition: SensorData.hpp:91
SensorData(int id)
Preferred constructor.
Definition: SensorData.hpp:43
Definition: SensorData.hpp:14
Definition: SensorData.hpp:16
SensorData()
Default constructor.
SensorType
The type of sensor data represented.
Definition: SensorData.hpp:12
int m_id
the sensor's ID.
Definition: SensorData.hpp:92