MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / ~Sensor

Method ~Sensor

Source/Physics/Sensor.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 , _sensedBodies(Array::create()) { }
25
26Sensor::~Sensor() {
27 Sensor::clear();
28 _fixture = pr::InvalidShapeID;
29}
30
31void Sensor::add(Body* body) {
32 _sensedBodies->add(Value::alloc(body));

Callers

nothing calls this directly

Calls 1

clearFunction · 0.50

Tested by

no test coverage detected