BoxBoxCollider collider = new BoxBoxCollider();
int count = collider.collide(contacts, staticBox, dynamicBox);
boolean hit1 = count > 0;
drawContacts(g, contacts, count);
CircleBoxCollider collider3 = CircleBoxCollider.createCircleBoxCollider();
count = collider3.collide(contacts, staticCircle, dynamicBox);
boolean hit2 = count > 0;
drawContacts(g, contacts, count);
LineBoxCollider collider5 = LineBoxCollider.create();
count = collider5.collide(contacts, staticLine, dynamicBox);
boolean hit3 = count > 0;