| 304 | } |
| 305 | |
| 306 | void 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 |
nothing calls this directly
no test coverage detected