MCPcopy Create free account
hub / github.com/axmolengine/axmol / onTouchEnded

Method onTouchEnded

tests/cpp-tests/Source/PhysicsTest/PhysicsTest.cpp:306–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void PhysicsDemo::onTouchEnded(Touch* touch, Event* /*event*/)
307{
308 auto it = _mouses.find(touch->getID());
309
310 if (it != _mouses.end())
311 {
312 this->removeChild(it->second);
313 _mouses.erase(it);
314 }
315}
316
317// Implementation of PhysicsComponentDemoLogoSmash
318

Callers

nothing calls this directly

Calls 8

getPhysicsWorldFunction · 0.50
findMethod · 0.45
endMethod · 0.45
removeChildMethod · 0.45
eraseMethod · 0.45
rayCastMethod · 0.45
getStartLocationMethod · 0.45
getLocationMethod · 0.45

Tested by

no test coverage detected