| 316 | } |
| 317 | |
| 318 | void receive(const CollisionEvent &collision) { |
| 319 | // Events are immutable, so we can't destroy the entities here. We defer |
| 320 | // the work until the update loop. |
| 321 | collided.insert(collision.left); |
| 322 | collided.insert(collision.right); |
| 323 | } |
| 324 | |
| 325 | private: |
| 326 | std::unordered_set<ex::Entity> collided; |
nothing calls this directly
no outgoing calls
no test coverage detected