for (int i=0;i<arbiters.size();i++) {
Arbiter<AgentType> arb = arbiters.get(i);
if (arb.concerns(body)) {
for (int j=0;j<arb.getNumContacts();j++) {
Contact contact = arb.getContact(j);
CollisionEvent event = new CollisionEvent(0, arb.getBody1(), arb.getBody2(), contact.getPosition(), contact.getNormal(), contact.getSeparation());
collisions.add(event);
}
}
}