private void notifyCollision(AgentType body1, AgentType body2, ROVector2f point, ROVector2f normal, float depth) {
if (listeners.size() == 0) {
return;
}
CollisionEvent event = new CollisionEvent(totalTime,body1,body2,point,normal,depth);
for (int i=0;i<listeners.size();i++) {
(listeners.get(i)).collisionOccured(event);
}
}