MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / ~IPhysicsActor

Method ~IPhysicsActor

src/IPhysicsActor.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18RavEngine::IPhysicsActor::~IPhysicsActor()
19{
20 for (auto& a : senders) {
21 if (!a.isNull()) {
22 //this will fail if not a SharedObject
23 a.get()->RemoveReceiver(this);
24 }
25 }
26}

Callers

nothing calls this directly

Calls 3

RemoveReceiverMethod · 0.80
isNullMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected